特殊:Badtitle/NS100:HoaryUpgradeNotes:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
第59行: 第59行:


----
----
[[category:CategoryDocumentation]]
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2008年4月23日 (三) 11:24的最新版本

{{#ifexist: :HoaryUpgradeNotes/zh | | {{#ifexist: HoaryUpgradeNotes/zh | | {{#ifeq: {{#titleparts:HoaryUpgradeNotes|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:HoaryUpgradeNotes|1|-1|}} | zh | | }}

See also: Warty Upgrade Notes, https://www.ubuntulinux.org/support/documentation/faq/upgrade-sarge

Pre-Upgrade

With hoary CD and Synaptic

  1. Open up Synaptic Package Manager
  2. Click on "Edit/Add CD-ROM"
  3. Click on "Mark All Upgrades"
  4. Click on "Apply"
  5. See the additional notes below
  6. Note that you need to add the cdrom again with Synaptic "Edit/Add CD-ROM" after the first reboot,this is needed because of new package authentication feature

Through Synaptic Package Manager

  1. Open up Synaptic Package Manager
  2. Change your repositories to look for Hoary

From

         URI: http://archive.ubuntu.com/ubuntu/
         Distribution: warty
         Sections: main restricted

To

         http://archive.ubuntu.com/ubuntu/
         Distribution: hoary
         Sections:  main restricted
  1. Reload sources
  2. Mark All Upgrades

Via Apt

  1. Open up a terminal
  2. gksudo gedit /etc/apt/sources.list
  3. Change any reference of Warty to Hoary

From

 
deb http://archive.ubuntu.com/ubuntu/ warty main restricted 

To

 
deb http://archive.ubuntu.com/ubuntu/ hoary main restricted 
  1. sudo apt-get update
  2. sudo apt-get dist-upgrade

Post-Upgrade

  1. If not running NFS as either client or server, remove portmap, as it's no longer needed:
    sudo apt-get --purge remove portmap
  2. It is recommended that you install the `ubuntu-base` and `ubuntu-desktop` metapackages in order to ensure that you have the full set of default packages. Note that without these metapackages it is much more likely that you will encounter problems during the upgrade.
    sudo apt-get install ubuntu-base ubuntu-desktop
  3. If you are without some localisations, you may find that it is necessary to install language-pack-xx, language-pack-xx-base and language-support-xx (where xx = your language code).
  4. Start "update-notifier" and save your gnome-session if you want update notification automatically
  5. Reboot in order to effect all changes (XFree86 to X.org, kernel upgrade, etc.)

Comments

  1. Only problem I ran into was I needed to reconfigure X which was solved with a sudo dpkg-reconfigure xserver-xorg
  2. If using the fglrx-driver package in Warty, install xorg-driver-fglrx in Hoary
  3. Some systems may require extra action to create /dev/cdrom symlinks on boot if desired:
    cd /etc/udev/rules.d
    sudo ln -s ../cd-aliases.rules
    

See https://bugzilla.ubuntu.com/show_bug.cgi?id=7789#c3

  1. For all ATI video card users, make sure to get the xorg ATI driver before restart. You can obtain that by "sudo apt-get install xorg-driver-fglrx"