Upgrades
1567
Comment:
|
← Revision 7 as of 2011-10-12 21:02:00 ⇥
1948
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
||<tablestyle="float:right; font-size: 0.9em; width:30%; background:#F1F1ED; background-repeat: no-repeat; background-position: 98% 0.5ex; margin: 0 0 1em 1em; padding: 0.5em;"><<TableOfContents>>|| |
|
Line 2: | Line 4: |
Keeping your computer up to date is the single most important task for protecting your computer. You can review the [[http://www.ubuntu.com/usn|Ubuntu Security Notices (USNs)]] for more information on published updates. |
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 6: | Line 7: |
By default, Ubuntu will alert you when updates are available for your computer and updates are handled through Update Manager. 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 9: |
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. |
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. |
Line 18: | Line 12: |
In Ubuntu 10.04 LTS and later, Ubuntu will alert you when updates are available for your system when you login. While this information is typically updated daily, 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 22: | Line 16: |
$ sudo apt-get upgrade | $ sudo apt-get dist-upgrade |
Line 25: | Line 19: |
Under some circumstances running the above will not apply all of the updates, which can happen when new packages provided by the update are to be installed. If this happens, you will want to run ```sudo apt-get dist-upgrade```, review the output being careful to note any package removals, 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. |
Contents |
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)