个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/HardyUpgrades}} {{Languages|UbuntuHelp:HardyUpgrades}} == Ubuntu 8.04 LTS ("Hardy Heron") == This document provides instructions and notes on upgr...)
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/HardyUpgrades}}
 
{{From|https://help.ubuntu.com/community/HardyUpgrades}}
 
{{Languages|UbuntuHelp:HardyUpgrades}}
 
{{Languages|UbuntuHelp:HardyUpgrades}}
== Ubuntu 8.04 LTS ("Hardy Heron") ==
+
#title Ubuntu 8.04 LTS ("Hardy Heron")
 +
== Introduction ==
 
This document provides instructions and notes on upgrading to Ubuntu 8.04 LTS (Hardy Heron), released on the 24th of April 2008.  
 
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 ===
+
=== 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 [[UbuntuHelp:UpgradeNotes|UpgradeNotes]])
 
* 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 [[UbuntuHelp:UpgradeNotes|UpgradeNotes]])
 
* Be sure that you have all updates applied to your current version of Ubuntu before you upgrade.
 
* 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 [http://www.ubuntu.com/getubuntu/releasenotes/804 release notes] for Ubuntu 8.04 LTS, which document caveats and workarounds for known issues in this version.
+
* Before upgrading it is recommended that you read the [[http://www.ubuntu.com/getubuntu/releasenotes/804|release notes]] for Ubuntu 8.04 LTS, which document caveats and workarounds for known issues in this version.
'''Note:''' If you have a version of Ubuntu other than 6.06 LTS or 7.10, please see [[UbuntuHelp:Installation/UpgradeFromOldVersion|Installation/UpgradeFromOldVersion]] for information on how to upgrade.
+
If you have a version of Ubuntu other than 6.06 LTS or 7.10, please see [[Installation/UpgradeFromOldVersion]] for information on how to upgrade.
 
=== Upgrade from 7.10 to 8.04 LTS ===
 
=== Upgrade from 7.10 to 8.04 LTS ===
==== Network upgrade for Ubuntu desktops (recommended) ====
+
==== Known Problems ====
 +
<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) ====
 
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>
  
https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update_manager_01.png
+
{{https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update_manager_01.png%7D%7D
 
<ol><li>Click the '''Check''' button to check for new updates.
 
<ol><li>Click the '''Check''' button to check for new updates.
 
</li><li>If there are any updates to install, use the '''Install Updates''' button to install them, and press '''Check''' again after that is complete.
 
</li><li>If there are any updates to install, use the '''Install Updates''' button to install them, and press '''Check''' again after that is complete.
 
</li><li>A message will appear informing you of the availability of the new release.</li></ol>
 
</li><li>A message will appear informing you of the availability of the new release.</li></ol>
  
https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-804.png
+
{{https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-804.png%7D%7D
 
<ol><li>Click '''Upgrade'''.
 
<ol><li>Click '''Upgrade'''.
 
</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 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 [[HardyUpgrades/Kubuntu]].
 
<ol><li>From the K-Menu run ''Adept Manager''.
 
<ol><li>From the K-Menu run ''Adept Manager''.
 
</li><li>Click ''Fetch Updates''.
 
</li><li>Click ''Fetch Updates''.
第30行: 第34行:
 
</li><li>Follow the prompts</li></ol>
 
</li><li>Follow the prompts</li></ol>
  
==== Network upgrade for Ubuntu servers (recommended) ====
+
==== Network Upgrade 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
</nowiki></pre>
 
</li><li>login as '''root''' user: <pre><nowiki>
 
sudo passwd root
 
</nowiki></pre>
 
</li><li>Enter passwords the change user to '''root''': <pre><nowiki>
 
su
 
 
</nowiki></pre>
 
</nowiki></pre>
 
</li><li>Launch the upgrade tool: <pre><nowiki>
 
</li><li>Launch the upgrade tool: <pre><nowiki>
do-release-upgrade
+
sudo do-release-upgrade
 
</nowiki></pre>
 
</nowiki></pre>
 
</li><li>Follow the on-screen instructions.</li></ol>
 
</li><li>Follow the on-screen instructions.</li></ol>
  
Note: It's not recommended to upgrade your system through ssh
 
 
=== 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 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.
</li><li>Press Alt-F2 and type <code><nowiki>gksu "update-manager -d"</nowiki></code></li></ol>
+
</li><li>Press Alt-F2 and type <code><nowiki>gksu "update-manager"</nowiki></code></li></ol>
  
https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update_manager_01.png
+
{{https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update_manager_01.png%7D%7D
 
<ol><li>Click the '''Check''' button to check for new updates.
 
<ol><li>Click the '''Check''' button to check for new updates.
 
</li><li>A message will appear informing you of the availability of the new release.</li></ol>
 
</li><li>A message will appear informing you of the availability of the new release.</li></ol>
  
https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-804.png
+
{{https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-804.png%7D%7D
 
<ol><li>Click '''Upgrade'''.
 
<ol><li>Click '''Upgrade'''.
 
</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 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.
</li><li>install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.
+
</li><li>Install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.
</li><li>run "do-release-upgrade -d -m desktop" in a terminal window
+
</li><li>Run "sudo do-release-upgrade -m desktop" in a terminal window.
</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 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.
</li><li>install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.
+
</li><li>Install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.
</li><li>run "do-release-upgrade -d" in a terminal window
+
</li><li>Run "sudo do-release-upgrade" in a terminal window.
</li><li>follow the steps on the terminal window</li></ol>
+
</li><li>Follow the steps on the terminal window.</li></ol>
  
=== Upgrading using the alternate CD/DVD ===
+
=== Upgrading Using the Alternate CD/DVD ===
 
Use this method if the system being upgraded is not connected to the Internet.
 
Use this method if the system being upgraded is not connected to the Internet.
 
<ol><li>Download and burn the '''alternate''' installation CD.
 
<ol><li>Download and burn the '''alternate''' installation CD.
第88行: 第85行:
 
kdesu "sh /cdrom/cdromupgrade"
 
kdesu "sh /cdrom/cdromupgrade"
 
</nowiki></pre>
 
</nowiki></pre>
=== Upgrading from a torrent ===
+
=== 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:
 
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:
 
<ol><li>Download the ISO file for the alternate installation CD using the ''.torrent'' file found on http://releases.ubuntu.com
 
<ol><li>Download the ISO file for the alternate installation CD using the ''.torrent'' file found on http://releases.ubuntu.com
第94行: 第91行:
 
</li><li>Follow the alternate CD upgrade instructions</li></ol>
 
</li><li>Follow the alternate CD upgrade instructions</li></ol>
  
[http://ptcbus.blogspot.com/2008/04/upgrading-from-ubuntu-710-gutsy-gibbon.html Detailed instructions here] and [http://ubuntuforums.org/showthread.php?p=4784633#post4784633 here].  
+
[[http://ptcbus.blogspot.com/2008/04/upgrading-from-ubuntu-710-gutsy-gibbon.html|Detailed instructions here]] and [[http://ubuntuforums.org/showthread.php?p=4784633#post4784633|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:
 +
<ol><li>Boot with Ubuntu 6.06 disk (in my case Alternate)
 +
</li><li>Select: Repair a Broken system
 +
</li><li>Select: Open a Rescue Shell.
 +
</li><li>Select: Root Partition for Ubuntu.
 +
</li><li>Run: dpkg --configure -a
 +
</li><li>Whenever the process is finished: exit.
 +
</li><li>Boot again into your system (now it should work)
 +
</li><li>Run dpkg --configure -a as root from a terminal (Ctrl+alt+f1)
 +
</li><li>System should be updated.</li></ol>
 +
 
 +
== See Also ==
 +
* [[UbuntuHelp:UpgradeNotes|UpgradeNotes]] for all supported versions of Ubuntu
 
----
 
----
 
[[category:CategoryDocumentation]]
 
[[category:CategoryDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 05:49的版本

  1. title Ubuntu 8.04 LTS ("Hardy Heron")

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 [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 Installation/UpgradeFromOldVersion 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 for Ubuntu Desktops (Recommended)

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

  1. Open System -> Administration -> Update Manager

{{https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update_manager_01.png%7D%7D

  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.

{{https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-804.png%7D%7D

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

Network Upgrade 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 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 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"

{{https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update_manager_01.png%7D%7D

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

{{https://help.ubuntu.com/community/HardyUpgrades?action=AttachFile&do=get&target=update-manager-upgrade-804.png%7D%7D

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

Network Upgrade 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 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

[instructions here] and [[1]].

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