apt upgrade vs. apt dist-upgrade - The main differences
What is the main difference between the two commands, which are so similar? Here is an explanation of how they differ.
What is the main difference between the two commands, which are so similar? Here is an explanation of how they differ.
Basically, both commands update the packages and software managed by the system.
The "Upgrade" command, however, is a bit more conservative in its approach to the upgrade and leaves serious dependencies. Thus, if deep dependencies also need to be upgraded, the package is skipped.
Nevertheless, security-relevant patches are always implemented here at any time.
sudo apt upgrade -y
The DIST-UPGRADE is a little bit harder. Here now also packages are updated which also requires the update of dependencies.
We recommend to make a backup of the system before updating with the "dist-upgrade" command.
sudo apt dist-upgrade -y
The DynDNS service of IPv64.net is free of charge and usable in all common routers and systems.
You have the choice between many different domain names.
The IPv64.net Healthchecks monitor your services, servers and endpoints. Receive notifications when your services fail.
This monitoring service is free with all features.
Registration with IPv64 is free of charge and immediately available for you.