This page redirects to page "EOLUpgrades"

Clear message

#title Upgrading to Ubuntu 12.04

Ubuntu 12.04 LTS is the version of the Ubuntu operating system released on April 26th, 2012. The common name given to this release is “Precise Pangolin”.

Before You Start

  • You can directly upgrade to Ubuntu 12.04 LTS (“Precise Pangolin”) from Ubuntu 11.10 (“Oneiric Ocelot”) or 10.04 LTS (“Lucid Lynx”).
  • Be sure that you have all updates applied to your current version of Ubuntu before you upgrade.
  • Be sure your system is in a stable state. This includes:
    • Sufficient free disk space (df -h, df-i) (disk space requirements unknown)
    • Ability to reboot the system without manual intervention
    • Clear out unnecessarily old linux-image kernels
  • Before upgrading it is recommended that you read the release notes for Ubuntu 12.04 LTS, which document caveats and workarounds for known issues in this version.

If you have a version of Ubuntu other than 10.04 LTS or 11.10, please see UpgradeNotes for information on how to upgrade.

Upgrade from 11.10 to 12.04 LTS and 10.04 LTS to 12.04 LTS

Network Upgrade for Ubuntu Desktops 11.10 to 12.04 LTS (Recommended)

You can easily upgrade over the network with the following procedure.

  1. Run the Update Manager application from the Unity Dash

  2. In Update Manager, click the Settings… button, and enter your password to start the Software Sources application.

  3. Select the sub menu Updates from the Software Sources application.

  4. Check the “Release upgrade - Show new distribution releases” drop down to make sure “Normal releases” is selected, and change it if otherwise.

  5. Close the Software Sources application and return to Update Manager.
  6. In Update Manager, click the Check button to check for new updates.

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

  8. A message will appear informing you of the availability of the new release.
  9. Click Upgrade.

  10. Follow the on-screen instructions.

Network Upgrade for Ubuntu Desktops 10.04 LTS to 12.04 LTS (Recommended)

Note that the page under https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop#Upgrading_from_Ubuntu_10.04_LTS_to_Ubuntu_12.04_LTS says: “It is generally recommended that users of Ubuntu 10.04 LTS wait until the first point release, due in August, before upgrading.” Follow the instructions there if you want to upgrade earlier since the following instructions will probably not work until then.

You can easily upgrade over the network with the following procedure.

  1. Open the Update Manager application from the SystemAdministration menu.

  2. In Update Manager, click the Settings… button, and enter your password to start the Software Sources application.

  3. Select the sub menu Updates from the Software Sources application.

  4. Check the “Release upgrade - Show new distribution releases” drop down to make sure “Long term support releases only” is selected, and change it if otherwise.

  5. Close the Software Sources application and return to Update Manager.
  6. In Update Manager, click the Check button to check for new updates.

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

  8. A message will appear informing you of the availability of the new release.
  9. Click Upgrade.

  10. Follow the on-screen instructions.

Network Upgrade for Kubuntu Desktops (Recommended)

Direct upgrades to Kubuntu 12.04 LTS are supported from Kubuntu 11.10 and 10.04 LTS only.

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. If and only if upgrading from an LTS release, then edit /etc/update-manager/release-upgrades and set Prompt=lts

  3. Launch the upgrade tool:

    do-release-upgrade
  4. Follow the on-screen instructions.

Note that if you’re upgrading from 10.04 LTS, do-release-upgrade will complain “No new release found” until 12.04.1 is released. To force an upgrade, use the -d option. See Ask Ubuntu for more information.

If you are not upgrading from an LTS release, Prompt=lts in the release-upgrades configuration file will fail to find an upgrade, as it requires than both the original and the new releases be LTS. You can change to Prompt=lts after a successful upgrade if you wish to stick to LTS in future.

Upgrading Using the Alternate CD/DVD

Use this method if the system being upgraded is not connected to the Internet. Note however that this method is not guaranteed to completely upgrade all packages installed on your system.

  1. Download the alternate installation CD from http://releases.ubuntu.com/precise/

  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 (please make sure that the path to the iso file in the second command reflects where you file is located in your computer, also the Desktop folder may have a different name if you are using Ubuntu in a language different than English):

      sudo mkdir -p "/media/THE EXACT NAME OF THE CD GOES HERE"
      sudo mount -o loop ~/Desktop/ubuntu-12.04-alternate-i386.iso "/media/THE EXACT NAME OF THE CD GOES HERE"
  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 '/media/THE EXACT NAME OF THE CD GOES HERE/cdromupgrade'"

Or in Kubuntu run the following command using Alt+F2:

kdesudo "sh '/media/THE EXACT NAME OF THE CD GOES HERE/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/12.04/, 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-12.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.


CategoryUpgrade

PreciseUpgrades (last edited 2017-08-22 15:35:43 by ckimes)