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

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/HoaryUpgradeNotes}} {{Languages|UbuntuHelp:HoaryUpgradeNotes}} See also: [https://wiki.ubuntu.com/WartyUpgradeNotes Warty Upgrade Notes], https:/...
 
Wikibot留言 | 贡献
无编辑摘要
 
(未显示2个用户的5个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/HoaryUpgradeNotes}}
{{From|https://help.ubuntu.com/community/HoaryUpgradeNotes}}
{{Languages|UbuntuHelp:HoaryUpgradeNotes}}
{{Languages|UbuntuHelp:HoaryUpgradeNotes}}
See also: [https://wiki.ubuntu.com/WartyUpgradeNotes Warty Upgrade Notes],  https://www.ubuntulinux.org/support/documentation/faq/upgrade-sarge
See also: [[UbuntuWiki:WartyUpgradeNotes|Warty Upgrade Notes]],  https://www.ubuntulinux.org/support/documentation/faq/upgrade-sarge
 
 
 
 
=== Pre-Upgrade ===
=== Pre-Upgrade ===
==== With hoary CD and Synaptic ====
==== With hoary CD and Synaptic ====
0. Open up Synaptic Package Manager
<ol><li>Open up Synaptic Package Manager
0. Click on "Edit/Add CD-ROM"
</li><li>Click on "Edit/Add CD-ROM"
0. Click on "Mark All Upgrades"
</li><li>Click on "Mark All Upgrades"
0. Click on "Apply"
</li><li>Click on "Apply"
0. See the additional notes below
</li><li>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  
</li><li>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</li></ol>


==== Through Synaptic Package Manager ====
==== Through Synaptic Package Manager ====
<ol><li>Open up Synaptic Package Manager
</li><li>Change your repositories to look for Hoary</li></ol>


0.  Open up Synaptic Package Manager   
From <pre><nowiki>
0.  Change your repositories to look for Hoary
        URI: http://archive.ubuntu.com/ubuntu/
From<pre><nowiki>
        Distribution: warty
URI: http://archive.ubuntu.com/ubuntu/
        Sections: main restricted</nowiki></pre>   
Distribution: warty
To <pre><nowiki>
Sections: main restricted</nowiki></pre>   
        http://archive.ubuntu.com/ubuntu/
To<pre><nowiki>
        Distribution: hoary
http://archive.ubuntu.com/ubuntu/
        Sections:  main restricted</nowiki></pre>
Distribution: hoary
<ol><li>Reload sources
Sections:  main restricted</nowiki></pre>
</li><li>Mark All Upgrades</li></ol>
0.  Reload sources
0.  Mark All Upgrades


==== Via Apt ====
==== Via Apt ====
<ol><li>Open up a terminal
</li><li>gksudo gedit /etc/apt/sources.list
</li><li>Change any reference of Warty to Hoary</li></ol>


0. Open up a terminal
From <pre><nowiki>  
0. gksudo gedit /etc/apt/sources.list
0. Change any reference of Warty to Hoary
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
<ol><li>sudo apt-get update
0. sudo apt-get dist-upgrade
</li><li>sudo apt-get dist-upgrade</li></ol>


=== Post-Upgrade ===
=== Post-Upgrade ===
 
<ol><li>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>
</li><li>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).
</li><li>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
</li><li>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.)
</li><li>Reboot in order to effect all changes (XFree86 to X.org, kernel upgrade, etc.)</li></ol>


== Comments ==
== Comments ==
 
<ol><li>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>
</li><li>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
</li><li>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
</nowiki></pre>
</nowiki></pre></li></ol>
 
See https://bugzilla.ubuntu.com/show_bug.cgi?id=7789#c3   
See https://bugzilla.ubuntu.com/show_bug.cgi?id=7789#c3   
 
<ol><li>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"</li></ol>
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"


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