个人工具

UbuntuHelp:LucidUpgrades

来自Ubuntu中文

跳转至: 导航, 搜索
  1. 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 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. Press Alt-F2 and type update-manager --proposed
  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

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. 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=lts
  3. Launch the upgrade tool:
    sudo do-release-upgrade --proposed
    
  4. Follow the on-screen instructions.

<<Anchor(AlternateUpgrade)>>

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://cdimage.ubuntu.com/daily/current/
  2. Burn the ISO to a CD and insert it into the CD-ROM drive of the computer to be upgraded.

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.
  2. 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 [[UbuntuHelp:[AlternateUpgrade|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.