It is sometimes necessary to remove one package in order to upgrade another.
Aptitude safe-upgrade vs full-upgrade. This command will use aptitude to output the new packages and then wc to just count the lines. From the aptitude manpage. Apt full-upgrade performs the same function as apt-get dist-upgrade.
So upgrade command will be run after update command. The apt-get command closer to aptitude safe-upgrade is upgrade but there is a difference. Upgrades installed packages to their most recent version removing or installing packages as necessary.
Need to get 0 B of archives. Download the deb file for a package reinstall. Full-upgrade apt-get8 performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole.
Indeed aptitude--safe-resolver full-upgrade is equivalent to aptitude safe-upgrade. On a sidenote I found that enzotibs solution without the single quotes around the U didnt work for me. Rootlinuxnix aptitude full-upgrade No packages will be installed upgraded or removed.
So apt-get upgrade is comparable to aptitude --no-new-installs safe-upgrade. Dist-upgrade command is very similar to upgrade command. Installing the upgrade means removing dependencies that other packages need.
It is the same algorithm used in safe-upgrade. Use the full-upgrade command to upgrade those packages as well. In most cases packages installed with apt will start newly installed services by default.