个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/HoaryUpgradeNotes}} {{Languages|UbuntuHelp:HoaryUpgradeNotes}} See also: [https://wiki.ubuntu.com/WartyUpgradeNotes Warty Upgrade Notes], https:/...)
 
第20行: 第20行:
 
0.  Open up Synaptic Package Manager     
 
0.  Open up Synaptic Package Manager     
 
0.  Change your repositories to look for Hoary
 
0.  Change your repositories to look for Hoary
From<pre><nowiki>
+
From  
 +
<pre><nowiki>
 
URI: http://archive.ubuntu.com/ubuntu/
 
URI: http://archive.ubuntu.com/ubuntu/
 
Distribution: warty
 
Distribution: warty
 
Sections: main restricted</nowiki></pre>   
 
Sections: main restricted</nowiki></pre>   
To<pre><nowiki>
+
To  
 +
<pre><nowiki>
 
http://archive.ubuntu.com/ubuntu/
 
http://archive.ubuntu.com/ubuntu/
 
Distribution: hoary
 
Distribution: hoary
第36行: 第38行:
 
0. gksudo gedit /etc/apt/sources.list
 
0. gksudo gedit /etc/apt/sources.list
 
0. Change any reference of Warty to Hoary
 
0. Change any reference of Warty to Hoary
From<pre><nowiki>  
+
From  
 +
<pre><nowiki>  
 
deb http://archive.ubuntu.com/ubuntu/ warty main restricted </nowiki></pre>
 
deb http://archive.ubuntu.com/ubuntu/ warty main restricted </nowiki></pre>
To<pre><nowiki>  
+
To  
 +
<pre><nowiki>  
 
deb http://archive.ubuntu.com/ubuntu/ hoary main restricted </nowiki></pre>
 
deb http://archive.ubuntu.com/ubuntu/ hoary main restricted </nowiki></pre>
 
0. sudo apt-get update
 
0. sudo apt-get update
第45行: 第49行:
 
=== Post-Upgrade ===
 
=== Post-Upgrade ===
  
0. If not running NFS as either client or server, remove portmap, as it's no longer needed:<pre><nowiki>
+
0. If not running NFS as either client or server, remove portmap, as it's no longer needed:  
 +
<pre><nowiki>
 
sudo apt-get --purge remove portmap</nowiki></pre>
 
sudo apt-get --purge remove portmap</nowiki></pre>
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<pre><nowiki>
+
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.
 +
<pre><nowiki>
 
sudo apt-get install ubuntu-base ubuntu-desktop</nowiki></pre>
 
sudo apt-get install ubuntu-base ubuntu-desktop</nowiki></pre>
 
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. 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).
第57行: 第63行:
 
0. Only problem I ran into was I needed to reconfigure X which was solved with a <code><nowiki>sudo dpkg-reconfigure xserver-xorg</nowiki></code>
 
0. Only problem I ran into was I needed to reconfigure X which was solved with a <code><nowiki>sudo dpkg-reconfigure xserver-xorg</nowiki></code>
 
0. If using the fglrx-driver package in Warty, install xorg-driver-fglrx in Hoary
 
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:<pre><nowiki>
+
0. Some systems may require extra action to create /dev/cdrom symlinks on boot if desired:  
 +
<pre><nowiki>
 
cd /etc/udev/rules.d
 
cd /etc/udev/rules.d
 
sudo ln -s ../cd-aliases.rules
 
sudo ln -s ../cd-aliases.rules

2007年5月24日 (四) 11:54的版本

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"