From here.
Today after I upgraded an Ubuntu vm from “20.04” to “22.04”, I got the following error when running “apt-get dist-upgrade” in the vm:
1 | The following packages have been kept back: |
To fix this issue, as told in the post above, run the following command to install the package explicitly:
1 | sudo apt-get install <list of packages kept back> |
According to an article on “debian-administration.org“:
If the dependencies have changed on one of the packages you have installed so that a new package must be installed to perform the upgrade then that will be listed as “kept-back”.