Linux: Packages kept back

From time to time, package dependencies change. When that happens, a new package might need to be installed and another removed. This can cause the error message:

The following packages have been kept back:

When this happens, the answer is very simple: just install the packages that were kept back.

For example, if you get the message

The following packages have been kept back:
  foo bar bam

then, install the kept-back packages:

sudo apt install foo bar bam

8 / 2022