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 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.
  2. Click the Check button to check for new updates.

  3. If there are any updates to install, use the Install Updates button to install them, and press Check again after that is complete.

  4. A message will appear informing you of the availability of the new release.
  5. Click Upgrade.

  6. 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).

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
  2. edit /etc/update-manager/release-upgrades and set Prompt=normal

  3. Launch the upgrade tool:

    sudo do-release-upgrade
  4. 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
  2. On the Updates tab, set Show new distribution releases: to Long term support releases only, then press Close.

  3. Press Alt-F2 and type update-manager

  4. Click the Check button to check for new updates.

  5. If there are any updates to install, use the Install Updates button to install them, and press Check again after that is complete.

  6. A message will appear informing you of the availability of the new release.
  7. Click Upgrade.

  8. 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 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
  2. Install update-manager-core if it is not already installed:

    sudo apt-get install update-manager-core
  3. 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
  2. Follow the on-screen instructions.
  3. 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/

  2. 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 mounting the ISO as a drive with a command like:

      sudo mount -o loop ~/Desktop/ubuntu-10.04-alternate-i386.iso /media/cdrom0
  3. A dialog will be displayed offering you the opportunity to upgrade using that CD.
  4. 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 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 alternate CD upgrade instructions.

Detailed instructions in a blog post and in a forum thread.

See Also

Troubleshooting

See the release notes.

In some cases, the installer is trying to use the network despite following the instructions above; please see: can't get lucid installer to upgrade offline, without going over the net.


CategoryUpgrade

LucidUpgrades (last edited 2011-09-10 08:15:58 by tobybartels)