Why packages are kept back?
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”.
What’s the difference between apt-get update and apt update?
The old apt-get upgrade command updates all the packages which currently exist in your system. It does not install or remove the existing package on your system. However, the new apt upgrade command installs packages that were added as dependencies of upgradable packages.
What is diff between apt and apt-get?
apt-get may be considered as lower-level and “back-end”, and support other APT-based tools. apt is designed for end-users (human) and its output may be changed between versions. Note from apt(8): The `apt` command is meant to be pleasant for end users and does not need to be backward compatible like apt-get(8).
How to change apt-get to ” no longer required “?
Now whenever I invoke apt-get it shows many pre-installed packages as “automatically installed and no longer required”: abhishek@ab-linux:~$ sudo apt-get install [sudo] password for abhishek: Reading package lists… Done Building dependency tree Reading state information…
What happens when I remove a package from apt-get?
When a package is installed, there are often other packages that it depends on. These will be automatically installed by apt-get. It used to be that you would be forced to use a separate program if you wanted keep track of these packages and remove them if you ever removed the original program that you installed.
Why are some packages not installed on my computer?
Packages which are not currently installed may be installed to resolve dependencies unless the –no-new-installs command-line option is supplied. Most likely these packages are held back because their installation would create dependency inconsistencies.
Why are the following packages have been kept back?
Done Calculating upgrade… Done The following packages have been kept back: docker-ce 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. $ apt list docker-ce Listing… Done docker-ce/bionic 5:20.10.3~3-0~ubuntu-bionic amd64 [upgradable from: 5:19.03.12~3-0~ubuntu-bionic] N: There are 34 additional versions.