Do Dist Upgrade Ubuntu?
Go to the Updates Tab and Make Sure You Have Selected for Long-Term Support Versions in the Notify of a New Ubuntu Version. Open a Terminal and Run Sudo...
Go to the Updates tab and make sure you have selected For long-term support versions in the Notify of a new Ubuntu version.
- Open a terminal and run sudo apt-get update (just to be sure :) ).
- Now, when you run sudo apt-get dist-upgrade it'd be upgraded to the next LTS version and not non-LTS versions.
What is dist-upgrade vs upgrade?
Apt-get dist-upgrade has a smart conflict resolution system, so it will attempt to upgrade the most important packages, at the expense of those deemed less important. Apt-get upgrade does not remove packages, it only upgrades.
Should I use 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.