วันศุกร์ที่ 7 พฤษภาคม พ.ศ. 2553

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 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 --devel-release
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 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 --devel-release
4.Follow the on-screen instructions.
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
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"
See Also
■UpgradeNotes for all supported versions of Ubuntu

colskys@hotmail.com