Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
 sudo reboot

 

upgrade

Package Update using upgrade is the safest and covered in Setup Ubuntu Linux Base Server. The command to upgrade is,

...

Code Block
languagebash
sudo apt-get upgrade --simulate

dist-upgrade

The next level is,

Code Block
languagebash
sudo apt-get dist-upgrade

...

Panel

dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.

do-release-update

Release updates are the most disruptive. The almost always require a reboot. The process is quite involved and it is recommended to turn off all services.