个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
 
第13行: 第13行:
 
<ol><li>The upgrade will freeze on the `locales` package if you are using the (current) Gutsy kernel, 2.6.22-15. Reboot into 2.6.22-14 before upgrading. See [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/249340  the bug report on Launchpad] for full details.</li></ol>
 
<ol><li>The upgrade will freeze on the `locales` package if you are using the (current) Gutsy kernel, 2.6.22-15. Reboot into 2.6.22-14 before upgrading. See [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/249340  the bug report on Launchpad] for full details.</li></ol>
  
==== Network Upgrade for Ubuntu Desktops (Recommended) ====
+
==== Network Upgrade from 7.10 for Ubuntu Desktops (Recommended) ====
 
You can easily upgrade over the network with the following procedure.
 
You can easily upgrade over the network with the following procedure.
 
<ol><li>Open '''System''' -> '''Administration''' -> '''Update Manager'''</li></ol>
 
<ol><li>Open '''System''' -> '''Administration''' -> '''Update Manager'''</li></ol>
第26行: 第26行:
 
</li><li>Follow the on-screen instructions.</li></ol>
 
</li><li>Follow the on-screen instructions.</li></ol>
  
==== Network Upgrade for Kubuntu Desktops (Recommended) ====
+
==== Network Upgrade from 7.10 for Kubuntu Desktops (Recommended) ====
 
'''To upgrade from Kubuntu 7.10 to 8.04''', over the internet, use the following procedure.
 
'''To upgrade from Kubuntu 7.10 to 8.04''', over the internet, use the following procedure.
 
For a full graphical presentation of these steps, please review [[UbuntuHelp:HardyUpgrades/Kubuntu|HardyUpgrades/Kubuntu]].
 
For a full graphical presentation of these steps, please review [[UbuntuHelp:HardyUpgrades/Kubuntu|HardyUpgrades/Kubuntu]].
第34行: 第34行:
 
</li><li>Follow the prompts</li></ol>
 
</li><li>Follow the prompts</li></ol>
  
==== Network Upgrade for Ubuntu Servers (Recommended) ====
+
==== Network Upgrade from 7.10 for Ubuntu Servers (Recommended) ====
 
<ol><li>Install `update-manager-core` if it is not already installed: <pre><nowiki>
 
<ol><li>Install `update-manager-core` if it is not already installed: <pre><nowiki>
 
sudo apt-get install update-manager-core
 
sudo apt-get install update-manager-core
第45行: 第45行:
 
=== Upgrade from 6.06 LTS to 8.04 LTS ===
 
=== Upgrade from 6.06 LTS to 8.04 LTS ===
 
This section describes how to perform 6.06 LTS ("Dapper") -> 8.04 LTS ("Hardy") upgrades.
 
This section describes how to perform 6.06 LTS ("Dapper") -> 8.04 LTS ("Hardy") upgrades.
==== Network Upgrade for Ubuntu Desktops (Recommended) ====
+
==== Network Upgrade from 6.06 for Ubuntu Desktops (Recommended) ====
 
<ol><li>Make sure the "dapper-updates" software channel is enabled.
 
<ol><li>Make sure the "dapper-updates" software channel is enabled.
 
</li><li>Be sure that you have all updates applied before you upgrade.
 
</li><li>Be sure that you have all updates applied before you upgrade.
第58行: 第58行:
 
</li><li>Follow the on-screen instructions.</li></ol>
 
</li><li>Follow the on-screen instructions.</li></ol>
  
==== Network Upgrade for Kubuntu Desktops (Recommended) ====
+
==== Network Upgrade from 6.06 for Kubuntu Desktops (Recommended) ====
 
'''To upgrade from Kubuntu 6.06 to 8.04''' over the Internet you can use a special mode in the server upgrade system.
 
'''To upgrade from Kubuntu 6.06 to 8.04''' over the Internet you can use a special mode in the server upgrade system.
 
<ol><li>Enable the "dapper-updates" repository.
 
<ol><li>Enable the "dapper-updates" repository.
第65行: 第65行:
 
</li><li>Follow the steps on the terminal window.</li></ol>
 
</li><li>Follow the steps on the terminal window.</li></ol>
  
==== Network Upgrade for Ubuntu Servers (Recommended) ====
+
==== Network Upgrade from 6.06 for Ubuntu Servers (Recommended) ====
 
If you run an Ubuntu server, you should use the new server upgrade system.
 
If you run an Ubuntu server, you should use the new server upgrade system.
 
<ol><li>Enable the "dapper-updates" repository.
 
<ol><li>Enable the "dapper-updates" repository.
第107行: 第107行:
 
== See Also ==
 
== See Also ==
 
* [[UbuntuHelp:UpgradeNotes|UpgradeNotes]] for all supported versions of Ubuntu
 
* [[UbuntuHelp:UpgradeNotes|UpgradeNotes]] for all supported versions of Ubuntu
----
 
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 17:08的最新版本

  1. title Upgrading to Ubuntu 8.04 LTS

Introduction

This document provides instructions and notes on upgrading to Ubuntu 8.04 LTS (Hardy Heron), released on the 24th of April 2008.

Before You Start

  • You can directly upgrade to Ubuntu 8.04 LTS ("Hardy Heron") from Ubuntu 7.10 ("Gutsy Gibbon") or from Ubuntu 6.06 LTS ("Dapper Drake"). 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 8.04 LTS, which document caveats and workarounds for known issues in this version.

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

Upgrade from 7.10 to 8.04 LTS

Known Problems

  1. The upgrade will freeze on the `locales` package if you are using the (current) Gutsy kernel, 2.6.22-15. Reboot into 2.6.22-14 before upgrading. See the bug report on Launchpad for full details.

Network Upgrade from 7.10 for Ubuntu Desktops (Recommended)

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

  1. Open System -> Administration -> Update Manager

HardyUpgrades?action=AttachFile&do=get&target=update_manager_01.png

  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.

HardyUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-804.png

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

Network Upgrade from 7.10 for Kubuntu Desktops (Recommended)

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

  1. From the K-Menu run Adept Manager.
  2. Click Fetch Updates.
  3. The Version Upgrade button will appear. Click it.
  4. Follow the prompts

Network Upgrade from 7.10 for Ubuntu Servers (Recommended)

  1. Install `update-manager-core` if it is not already installed:
    sudo apt-get install update-manager-core
    
  2. Launch the upgrade tool:
    sudo do-release-upgrade
    
  3. Follow the on-screen instructions.

Upgrade from 6.06 LTS to 8.04 LTS

This section describes how to perform 6.06 LTS ("Dapper") -> 8.04 LTS ("Hardy") upgrades.

Network Upgrade from 6.06 for Ubuntu Desktops (Recommended)

  1. Make sure the "dapper-updates" software channel is enabled.
  2. Be sure that you have all updates applied before you upgrade.
  3. Press Alt-F2 and type gksu "update-manager"

HardyUpgrades?action=AttachFile&do=get&target=update_manager_01.png

  1. Click the Check button to check for new updates.
  2. A message will appear informing you of the availability of the new release.

HardyUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-804.png

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

Network Upgrade from 6.06 for Kubuntu Desktops (Recommended)

To upgrade from Kubuntu 6.06 to 8.04 over the Internet you can use a special mode in the server upgrade system.

  1. Enable the "dapper-updates" repository.
  2. Install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.
  3. Run "sudo do-release-upgrade -m desktop" in a terminal window.
  4. Follow the steps on the terminal window.

Network Upgrade from 6.06 for Ubuntu Servers (Recommended)

If you run an Ubuntu server, you should use the new server upgrade system.

  1. Enable the "dapper-updates" repository.
  2. Install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.
  3. Run "sudo do-release-upgrade" in a terminal window.
  4. Follow the steps on the terminal window.

Upgrading Using the Alternate CD/DVD

Use this method if the system being upgraded is not connected to the Internet.

  1. Download and burn the alternate installation CD.
  2. Insert it into your CD-ROM drive.
  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`:
kdesu "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 useful on release days when the server overload causes problems. Basic instructions:

  1. Download the ISO file for the alternate installation CD using the .torrent file found on http://releases.ubuntu.com
  2. Mount the ISO as a drive or burn it to a physical CD
  3. Follow the alternate CD upgrade instructions

Detailed instructions here and here.

Troubleshooting

Unexpected reboot hangs on boot

My experience is based on Xubuntu 6.06 to Xubuntu 8.04 but I think it is the same for Ubuntu. My update stopped suddenly and after reboot Linux kernel did boot but get hung on the process boot. Here there is how I fixed it:

  1. Boot with Ubuntu 6.06 disk (in my case Alternate)
  2. Select: Repair a Broken system
  3. Select: Open a Rescue Shell.
  4. Select: Root Partition for Ubuntu.
  5. Run: dpkg --configure -a
  6. Whenever the process is finished: exit.
  7. Boot again into your system (now it should work)
  8. Run dpkg --configure -a as root from a terminal (Ctrl+alt+f1)
  9. System should be updated.

See Also