个人工具

UbuntuHelp:HardyUpgrades

来自Ubuntu中文

Wikibot讨论 | 贡献2008年5月9日 (五) 19:01的版本 (新页面: {{From|https://help.ubuntu.com/community/HardyUpgrades}} {{Languages|UbuntuHelp:HardyUpgrades}} == Ubuntu 8.04 LTS ("Hardy Heron") == This document provides instructions and notes on upgr...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

Ubuntu 8.04 LTS ("Hardy Heron")

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.

Note: 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

Network upgrade 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 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. login as root user:
    sudo passwd root
    
  3. Enter passwords the change user to root:
    su
    
  4. Launch the upgrade tool:
    do-release-upgrade
    
  5. Follow the on-screen instructions.

Note: It's not recommended to upgrade your system through ssh

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 -d"

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 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 "do-release-upgrade -d -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 "do-release-upgrade -d" 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.