个人工具

“UbuntuHelp:IntrepidUpgrades”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第80行: 第80行:
 
</nowiki></pre>
 
</nowiki></pre>
 
After finishing the update you will have to reinstall duplicity and/or python-pexpect if 8.10 has too old versions for you.
 
After finishing the update you will have to reinstall duplicity and/or python-pexpect if 8.10 has too old versions for you.
 +
If the upgrade process hangs at configuring/setting up landscape-common, try killing the existing landscape related processes:
 +
<pre><nowiki>
 +
ps -A | grep landscape
 +
sudo kill -9 <pids_from_above>
 +
</nowiki></pre>
 +
Upgrade should then be able to continue.
 +
On restart, if you get the following error messages (or similar):
 +
<pre><nowiki>
 +
ALERT! /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx does not exist. Dropping to a shell.
 +
</nowiki></pre>
 +
And if you verify that the path does exist and you can mount it:
 +
<pre><nowiki>
 +
ls -l /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
 +
mkdir /tmp/dir
 +
mount -t ext3 /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /tmp/dir
 +
</nowiki></pre>
 +
You can try to add 'rootdelay' to your kernel command line:
 +
1) On boot up, press 'ESC' to get to GRUB menu
 +
2) Select the first line, press 'e' to edit
 +
3) Select the 'kernel...' line, press 'e' again to edit
 +
4) Append 'rootdelay=130' to the end
 +
5) Press 'ENTER' to accept
 +
6) Press 'b' to boot
 
----
 
----
 
[[category:CategoryUpgrade]]
 
[[category:CategoryUpgrade]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 19:36的版本

  1. title Upgrading to Ubuntu 8.10

This document provides instructions and notes on upgrading to Ubuntu 8.10 (code name "Intrepid Ibex"), the most recent release of Ubuntu, released on the 30th of October 2008.

Before You Start

By default Ubuntu 8.04 LTS will not offer a upgrade to 8.10. This is because the 8.04 LTS version is a long term support release and 8.10 is a regular release. Upgrades from 8.04 LTS to 8.10 are fully supported, of course, and easy to enable.

  • You can only directly upgrade to Ubuntu 8.10 from Ubuntu 8.04 LTS (see UpgradeNotes).
  • The upgrade will not be presented by default because 8.10 is not a Long Term Support (LTS) release.
  • Be sure that you have all updates applied to Ubuntu 8.04 LTS before you upgrade.
  • Before upgrading it is recommended that you read the release notes for Ubuntu 8.10, which document caveats and workarounds for known issues in this version.

If you have a version of Ubuntu which was released before Ubuntu 8.04 LTS, please see UpgradeNotes for information on how to upgrade.

Network Upgrade for Ubuntu Desktops (Recommended)

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

  1. Start System/Administration/Software Sources

https://help.ubuntu.com/community/IntrepidUpgrades?action=AttachFile&do=get&target=intrepid_upgrade1.png%7C%7Cwidth%3D623+height%3D556

  1. click on the "Updates" tab and change "Show new distribution release" to "Normal releases"

IntrepidUpgrades?action=AttachFile&do=get&target=intrepid_upgrade2.png

  1. Start System/Administration/Update Manager

https://help.ubuntu.com/community/IntrepidUpgrades?action=AttachFile&do=get&target=intrepid_upgrade2.5.png%7C%7Cwidth%3D623+height%3D556

  1. Click the Check button to check for new updates.
  2. If there are any updates to install, use the Install Updates button to install them, and press Check again after that is complete.
  3. A message will appear informing you of the availability of the new release.

IntrepidUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-810.png

  1. Click Upgrade.
  2. Follow the on-screen instructions.

Network Upgrade for Kubuntu Desktops (Recommended)

To upgrade from 8.04 to Kubuntu 8.10, over the Internet, use the following procedure. For a full graphical presentation of these steps, please review IntrepidUpgrades/Kubuntu.

  1. Open the Run Command dialog by pressing Alt+F2. Type kdesu "adept_manager --dist-upgrade-devel" in the command box and press the OK button.
  2. The Version Upgrade button will appear. Click it.
  3. Follow the prompts

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.

<<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
  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-8.10-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/intrepid/, 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-8.10-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 here and here.

See Also

Troubleshooting

If you have installed newer versions of duplicity and python-pexpect (from source) on your Ubuntu 8.04 installation the update-manager might die with an error. I was able to get out of the problem and continue the upgrade by running these two commands:

sudo pycentral pkgremove duplicity
sudo pycentral pkgremove python-pexpect

After finishing the update you will have to reinstall duplicity and/or python-pexpect if 8.10 has too old versions for you. If the upgrade process hangs at configuring/setting up landscape-common, try killing the existing landscape related processes:

ps -A | grep landscape
sudo kill -9 <pids_from_above>

Upgrade should then be able to continue. On restart, if you get the following error messages (or similar):

ALERT! /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx does not exist. Dropping to a shell.

And if you verify that the path does exist and you can mount it:

ls -l /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
mkdir /tmp/dir
mount -t ext3 /dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /tmp/dir

You can try to add 'rootdelay' to your kernel command line: 1) On boot up, press 'ESC' to get to GRUB menu 2) Select the first line, press 'e' to edit 3) Select the 'kernel...' line, press 'e' again to edit 4) Append 'rootdelay=130' to the end 5) Press 'ENTER' to accept 6) Press 'b' to boot