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 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.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.