#REDIRECT EOLUpgrades #title Upgrading to Ubuntu 10.04 LTS ||<>|| This document provides instructions and notes on upgrading to Ubuntu 10.04 LTS (code name "Lucid Lynx"), the most recent long-term release of Ubuntu, released on the 29th of April 2010. = Before You Start = * You can directly upgrade to Ubuntu 10.04 LTS ("Lucid Lynx") from Ubuntu 9.10 ("Karmic Koala") or from Ubuntu 8.04 LTS ("Hardy Heron"). This page contains instructions for both. (see UpgradeNotes) * Be sure that you have all updates applied to your current version of Ubuntu before you upgrade. * Before upgrading it is recommended that you read the [[http://www.ubuntu.com/getubuntu/releasenotes/1004|release notes]] for Ubuntu 10.04 LTS, which document caveats and workarounds for known issues in this version. If you have a version of Ubuntu other than 8.04 LTS or 9.10, please see [[UpgradeNotes]] for information on how to upgrade. = Upgrade from 9.10 to 10.04 LTS = == Network Upgrade for Ubuntu Desktops (Recommended) == You can easily upgrade over the network with the following procedure. 1. Start System/Administration/Update Manager. 1. Click the '''Check''' button to check for new updates. 1. If there are any updates to install, use the '''Install Updates''' button to install them, and press '''Check''' again after that is complete. 1. A message will appear informing you of the availability of the new release. 1. Click '''Upgrade'''. 1. Follow the on-screen instructions. == Network Upgrade for Kubuntu Desktops (Recommended) == Direct upgrades to Kubuntu 10.04 LTS are supported from Kubuntu 9.10 (but not Kubuntu 8.04). [[LucidUpgrades/Kubuntu|Upgrade Kubuntu 9.10 to 10.04]] == Network Upgrade for Ubuntu Servers (Recommended) == 1. Install `update-manager-core` if it is not already installed: {{{ sudo apt-get install update-manager-core }}} 1. edit {{{/etc/update-manager/release-upgrades}}} and set {{{Prompt=normal}}} 1. Launch the upgrade tool: {{{ sudo do-release-upgrade }}} 1. Follow the on-screen instructions. = Upgrade from 8.04 LTS to 10.04 LTS = == Network Upgrade for Ubuntu Desktops (Recommended) == You can easily upgrade over the network with the following procedure. 1. Start System/Administration/Software Sources 1. On the '''Updates''' tab, set '''Show new distribution releases:''' to '''Long term support releases only''', then press '''Close'''. 1. Press Alt-F2 and type {{{update-manager}}} 1. Click the '''Check''' button to check for new updates. 1. If there are any updates to install, use the '''Install Updates''' button to install them, and press '''Check''' again after that is complete. 1. A message will appear informing you of the availability of the new release. 1. Click '''Upgrade'''. 1. Follow the on-screen instructions. == Network Upgrade for Kubuntu Desktops == Because Kubuntu 8.04 was not an LTS release and has passed its end of life, direct upgrades to Kubuntu 10.04 LTS from Kubuntu 8.04 are not supported. Please follow the directions for [[KarmicUpgrades/Kubuntu/8.04|upgrading Kubuntu 8.04 to 9.10]] first, then follow the directions above for upgrades from Kubuntu 9.10. == Network Upgrade for Ubuntu Servers (Recommended) == 1. Ensure you're up to date with latest release: {{{ sudo apt-get update }}} {{{ sudo apt-get upgrade }}} 1. Install `update-manager-core` if it is not already installed: {{{ sudo apt-get install update-manager-core }}} 1. edit {{{/etc/update-manager/release-upgrades}}} and set {{{Prompt=lts}}} Note: The minumum contents of {{{/etc/update-manager/release-upgrades}}} should be {{{ [DEFAULT] Prompt=lts }}} 1. Launch the upgrade tool: {{{ sudo do-release-upgrade }}} 1. Follow the on-screen instructions. 1. At the end of the upgrade process you will be required to restart the server in order to boot into the new kernel. If you do not have access to the console of the system you are upgrading, you may need to edit {{{/boot/grub/menu.lst}}} and change the default boot kernel to the newly installed 10.04 kernel. '''If this step is not performed your server may attempt to boot into the 8.04 LTS kernel and will hang.''' <> = Upgrading Using the Alternate CD/DVD = Use this method if the system being upgraded is not connected to the Internet. 1. Download the '''alternate''' installation CD from http://releases.ubuntu.com/lucid/ 1. [[BurningIsoHowto#InUbuntu|Burn the ISO to a CD]] and insert it into the CD-ROM drive of the computer to be upgraded. * If the ISO file is on the computer to be upgraded, you could avoid wasting a CD by [[ManageDiscImages#MountISOFiles|mounting the ISO as a drive]] with a command like: {{{ sudo mount -o loop ~/Desktop/ubuntu-10.04-alternate-i386.iso /media/cdrom0 }}} 1. A dialog will be displayed offering you the opportunity to upgrade using that CD. 1. Follow the on-screen instructions. If the upgrade dialog is not displayed for any reason, you may also run the following command using `Alt+F2`: {{{ gksu "sh /cdrom/cdromupgrade" }}} Or in Kubuntu run the following command using `Alt+F2`: {{{ kdesudo "sh /cdrom/cdromupgrade" }}} = Upgrading from a Torrent = If you're familiar with [[http://en.wikipedia.org/wiki/BitTorrent_(protocol)|torrents]] and have an ISP that doesn't limit them, you can download the upgrade much more quickly. You'll also be sharing your bandwidth with other Ubuntu users and helping to reduce the load on the servers, which is especially beneficial on release days when the server overload causes problems. Just visit http://releases.ubuntu.com/lucid/, and download the appropriate torrent file for the '''alternate''' installation CD, found in the list towards the bottom of the page. (It will have a filename like ''ubuntu-10.04-alternate-i386.iso.torrent''.) Load it into your BitTorrent client, and after it is done downloading the ISO, follow the [[#AlternateUpgrade|alternate CD upgrade instructions]]. [[http://ptcbus.blogspot.com/2008/04/upgrading-from-ubuntu-710-gutsy-gibbon.html|Detailed instructions in a blog post]] and [[http://ubuntuforums.org/showthread.php?p=4784633#post4784633|in a forum thread]]. = See Also = * UpgradeNotes for all supported versions of Ubuntu = Troubleshooting = See the [[http://www.ubuntu.com/getubuntu/releasenotes/1004|release notes]]. In some cases, the installer is trying to use the network despite following the instructions above; please see: [[https://answers.launchpad.net/ubuntu/+source/update-manager-core/+question/109413|can't get lucid installer to upgrade offline, without going over the net]]. ---- CategoryUpgrade