个人工具

UbuntuHelp:EOLUpgrades/Hardy

来自Ubuntu中文

跳转至: 导航, 搜索
  1. title Upgrading Hardy to Lucid

<< < Gutsy Intrepid >>

8.04 to 10.04 (Hardy LTS to Lucid LTS)

Ubuntu Hardy support has not ended yet and Lucid is not even released. Hardy becomes unsupported from April 2011 for desktop users and the server version is supported till April 2013. Upgrading 8.04.x to 10.04 is regarded as a regular upgrade. Please see HardyUpgrades for more information. This page is purely here to go to Intrepid, which becomes end of life in April 2010 and that is about the same time Lucid is released. Updating Hardy to a higher version at this time is not advised, just wait for April 2010 and upgrade directly to Lucid. This will save you some time and some bandwidth.

Before you start

Please make sure you've read and understood the main EOLUpgrade page. I would recommend using clonezilla for backing up your current installation. It is very easy to backup and restore your partitions with clonezilla. It takes less then 30 minutes to backup/restore a 20Gb root filesystem which has 4-5 Gb used space.

The upgrade

  • Please make sure you have the following sources.list.
# Required
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse

# Optional
#deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse

You can make use of -backports, -proposed repositories if you want. For more information about repositories see Repositories/Ubuntu.

  • Update the package list and upgrade all the installed packages
sudo aptitude update && sudo aptitude safe-upgrade
  • Perform the release upgrade.
sudo do-release-upgrade
  • Check your new version

Reboot your machine and you can now run `lsb_release -a` to check the new version of Ubuntu. << < Gutsy Intrepid >>