Contents
Is it safe to do Dist-upgrade?
dist-upgrade is extremely safe.
How long does apt-get upgrade take?
The first command, sudo apt-get update, will update all the package indexes. This command doesn’t actually update any software on your Pi, but updates what the latest software is and where to download it from. “update” usually takes a minute or two while it downloads the latest package lists.
What will Dist-upgrade do?
The apt-get dist-upgrade command 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.
Why does apt get upgrade takes so long?
If you have a slow Internet connection it will take longer to download the packages before the upgrade process can begin. If you run apt get in a terminal you can get an idea of how fast the download process takes compared to the actual upgrade process. It would generally be the latest stable release.
Should I use upgrade or dist-upgrade?
Using upgrade keeps to the rule: under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. If that’s important to you, use apt-get upgrade . If you want things to “just work”, you probably want apt-get dist-upgrade to ensure dependencies are resolved.
What’s the difference between Update Manager and dist-upgrade?
The standard abilities of update-manager are a mix of the upgrade and dist-upgrade modes of apt-get: it can add but not remove packages – it invokes the “Partial upgrade” tool when removals are required. When using the command line, use apt-get upgrade.
How long does a distribution Upgrade normally take?
I would just not recommend running the do-release-upgrade command via SSH. It depends on your computer. With a fast computer it should take about 1 hour – 1 hour and 30 minutes. Thanks for contributing an answer to Ask Ubuntu!
How to run Apt-get upgrade and dist-upgrade?
In order to upgrade the packages, run the dist-upgrade command with sudo privileges: $ sudo apt-get dist-upgrade. To upgrade a specific package, command is as follows: $ sudo apt-get dist-upgrade < package_name >. Sometimes, when you run apt-get upgrade, you receive the message “The following packages have been kept back”.
Is it best practice to do a dist upgrade?
In response, some providers said that they DID NOT support dist-upgrades of their servers ! BEST PRACTICE: “Best Practice” is NOT to do either a “dist-upgrade” or “dist-upgrade”. This level of upgrade is seldom if ever needed, and not at all required to keep your system up to date, secure, and running smoothy.