特殊:Badtitle/NS100:HoaryUpgradeNotes

来自Ubuntu中文
Wikibot留言 | 贡献2007年11月30日 (五) 17:38的版本
跳到导航跳到搜索
可打印版本不再受到支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认打印功能。

{{#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

0. Open up Synaptic Package Manager 0. Click on "Edit/Add CD-ROM" 0. Click on "Mark All Upgrades" 0. Click on "Apply" 0. See the additional notes below 0. 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

0. Open up Synaptic Package Manager 0. 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

0. Reload sources 0. Mark All Upgrades

Via Apt

0. Open up a terminal 0. gksudo gedit /etc/apt/sources.list 0. 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 

0. sudo apt-get update 0. sudo apt-get dist-upgrade

Post-Upgrade

0. If not running NFS as either client or server, remove portmap, as it's no longer needed:

sudo apt-get --purge remove portmap

0. 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

0. 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). 0. Start "update-notifier" and save your gnome-session if you want update notification automatically 0. Reboot in order to effect all changes (XFree86 to X.org, kernel upgrade, etc.)

Comments

0. Only problem I ran into was I needed to reconfigure X which was solved with a sudo dpkg-reconfigure xserver-xorg 0. If using the fglrx-driver package in Warty, install xorg-driver-fglrx in Hoary 0. 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 0. 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"