Page tree

Versions Compared

Key

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

...

In a server environment there are different levels of updates,

  • upgrade - Package Update
  • Kernel Updates
  • without removing packages
  • dist-upgrade - Package Update using conflict resolution to remove outdated packages
  • do-release-update - Release Updates

This is to allow the administer fine grained control. The more higher level of updates, the more risk to a system.

upgrade

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

The next level is updating the Kernel (Roderick add link to Kernel on Wikipedia and go over high level what the Kernel gives you... bottom line why anyone would want to upgrade the Kernel).

The command to upgrade it,

Code Block
sudo apt-get upgrade

From the man pages,

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

The next level is,

Code Block
languagebash
sudo apt-get dist-upgrade

In some cases the system will prompt you to reboot for the new kernel to take effect.

From the man pages,

do-release-update