Upgrades

Differences between revisions 3 and 7 (spanning 4 versions)
Revision 3 as of 2011-10-11 22:47:58
Size: 1607
Editor: jdstrand
Comment:
Revision 7 as of 2011-10-12 21:02:00
Size: 1948
Editor: jdstrand
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Keeping your computer up to date is the single most important task for protecting your computer. By default, Ubuntu will alert you when updates are available for your system, either through Update Manager for desktop environments or via the message of the day (motd) on servers. Security updates for Ubuntu are announced via [[http://www.ubuntu.com/usn|Ubuntu Security Notices (USNs)]]. Keeping your computer's software up to date is the single most important task for protecting your system. Ubuntu can alert you to pending updates, and also be configured to apply updates automatically. Security updates for Ubuntu are announced via [[http://www.ubuntu.com/usn|Ubuntu Security Notices (USNs)]].
Line 7: Line 7:
By default, users are notified daily for security updates and weekly for non-security updates. How and when
Ubuntu alerts you can be configured
in Update Manager. You can access Update Manager anytime by pressing 'Alt+F2', entering ```update-manager``` and pressing Enter. Its settings can be adjusted by pressing the 'Settings' button.
By default, users are notified daily for security updates and weekly for non-security updates. How Ubuntu alerts you as well as configuring your system to install updates automatically can be setup within Update Manager. You can access Update Manager anytime by pressing 'Alt+F2', entering ```'update-manager'``` and pressing Enter. Its settings can be adjusted by pressing the 'Settings' button.
Line 13: Line 12:
In Ubuntu 10.04 LTS and later, Ubuntu will also alert you upon console or remote login by default. You can check for and apply new updates with: {{{ If the ```update-notifier-common``` package is installed, Ubuntu will alert you about pending updates via the message of the day (motd) upon console or remote login.

After logging in, you can check for and apply new updates with: {{{
Line 15: Line 16:
$ sudo apt-get upgrade $ sudo apt-get dist-upgrade
Line 18: Line 19:
Under some circumstances running the above will not apply all updates. If this happens, simply run ```sudo apt-get dist-upgrade```, review what apt is going to do, and confirm that you want to apply the updates. When performing an update, first review what apt is going to do, then confirm that you want to apply the updates (this is particularly true when running the development release).

If you would prefer to have updates applied automatically, make sure the ```unattended-upgrades``` package is installed, then run ```'sudo dpkg-reconfigure unattended-upgrades'```. Please note that updates may restart services on your server, so this may not be appropriate for all environments.

Introduction

Keeping your computer's software up to date is the single most important task for protecting your system. Ubuntu can alert you to pending updates, and also be configured to apply updates automatically. Security updates for Ubuntu are announced via Ubuntu Security Notices (USNs).

Desktop

By default, users are notified daily for security updates and weekly for non-security updates. How Ubuntu alerts you as well as configuring your system to install updates automatically can be setup within Update Manager. You can access Update Manager anytime by pressing 'Alt+F2', entering 'update-manager' and pressing Enter. Its settings can be adjusted by pressing the 'Settings' button.

Once Update Manager is open, you can review and select pending updates as well as check for new updates. Simply press the 'Install Updates' button to upgrade the selected packages to the updated version.

Server

If the update-notifier-common package is installed, Ubuntu will alert you about pending updates via the message of the day (motd) upon console or remote login.

After logging in, you can check for and apply new updates with:

$ sudo apt-get update
$ sudo apt-get dist-upgrade

When performing an update, first review what apt is going to do, then confirm that you want to apply the updates (this is particularly true when running the development release).

If you would prefer to have updates applied automatically, make sure the unattended-upgrades package is installed, then run 'sudo dpkg-reconfigure unattended-upgrades'. Please note that updates may restart services on your server, so this may not be appropriate for all environments.

Security/Upgrades (last edited 2011-10-12 21:02:00 by jdstrand)