According to the man pages the command apt-get upgrade for older DebianUbuntu releases or apt upgrade for newer releases.
Apt upgrade vs full-upgrade vs dist-upgrade. Apt-get update updates the package sources list to get the latest list of available packages in the repositories and apt-get upgrade updates all the packages presently installed in our Linux system to their latest versions. Apt-get upgrade is low-risk and you can pretty much do it without paying attention whereas apt-get dist-upgrade might occasionally remove a program that you rely on especially if you havent taken care to mark all the packages you absolutely need as manually installed. After updating the lists the package manager knows about available updates for the software you have installed.
Neither upgrade nor dist-upgradefull-upgrade will remove automatically installed packages dependencies that are no longer needed after the upgrade. Thus the apt-get dist-upgrade. When running apt-get dist-upgrade on a PVE host when will this affect running guestsHelpful.
The full-upgrade command is less conservative The dist-upgrade is for upgrading from Stretch to Buster for example. This is the short version of the answer. It also removes old packages if needed for the upgrade.
It looks to me apt full-upgrade does the same thing as apt-get dist-upgrade. Apt-get dist-upgrade in addition to performing the function of apt-get upgrade also intelligently handles changing dependencies with new versions of packages and will attempt to upgrade the most important packages at the expense of less important ones if necessary. Dist-upgradefull-upgrade will remove packages that were automatically installed installed as dependants of manually selected packages as needed to satisfy package upgrade dependency conflicts.
What is the difference between apt update and apt upgrade. In this tutorial we look at apt-get upgrade and apt-get dist-upgrade commands and seek to understand the difference and when each is used. Apt upgrade will upgrade currently-installed packages and install new packages pulled in by updated dependencies.
One is apt-get upgrade and the second one is apt-get dist-upgrade. The idea is that apt-get upgrade only upgrades individual packages whereas apt-get dist-upgrade upgrades the whole distribution. Please support me on Patreon.