Upgrades packages with auto-handling of dependencies.
Apt upgrade vs full-upgrade. The main objective of an update is to provide bug fixes to existing software while it is not the case in an upgrade. After updating the lists the package manager knows about available updates. Its usually safe to use this command but when in doubt you can try an apt upgrade command first to see which if any packages get held back.
This is why you first want to update. However it never removes old packages. Moreover if we run apt list upgradable it also shows some colors to provide a clear overview of the packages for which the repository offers a most up to date.
The apt upgrade command upgrades packages to their latest versions and installs new packages if they are required as dependencies. Apt-get remove package_name apt-remove package_name Remove a package with configuration. Apt full-upgrade performs the same function as apt-get dist-upgrade.
This is a multi-step process as described here. This command will upgrade too but during the upgrade there will be some prompts related to package configuration. The upgrade command actually upgrades and installs the.
Apt-get upgrade actually installs newer versions of the packages you have. Apt-get update updates the list of available packages and their versions but it does not install or upgrade any packages. Dnf system-upgrade see note While distro-sync is the most direct functional equivalent dnf system-upgrade should be used to upgrade from one release to another eg.
Apt upgrade will upgrade all packages that can be upgraded without the need to install additional packages or remove any conflicting installed packages. It also appears when you remove the package using apt remove or apt purge. The command apt-get upgrade installs the newer versions of the packages currently installed on the system.