特殊:Badtitle/NS100:BreezyUpgrade:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第113行: | 第113行: | ||
<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> | <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> | ||
---- | |||
[[category:CategoryCleanup]] | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年4月23日 (三) 10:30的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BreezyUpgrade }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/af | • {{#if: UbuntuHelp:BreezyUpgrade|Afrikaans| [[::BreezyUpgrade/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/ar | • {{#if: UbuntuHelp:BreezyUpgrade|العربية| [[::BreezyUpgrade/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/az | • {{#if: UbuntuHelp:BreezyUpgrade|azərbaycanca| [[::BreezyUpgrade/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/bcc | • {{#if: UbuntuHelp:BreezyUpgrade|جهلسری بلوچی| [[::BreezyUpgrade/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/bg | • {{#if: UbuntuHelp:BreezyUpgrade|български| [[::BreezyUpgrade/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/br | • {{#if: UbuntuHelp:BreezyUpgrade|brezhoneg| [[::BreezyUpgrade/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/ca | • {{#if: UbuntuHelp:BreezyUpgrade|català| [[::BreezyUpgrade/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/cs | • {{#if: UbuntuHelp:BreezyUpgrade|čeština| [[::BreezyUpgrade/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/de | • {{#if: UbuntuHelp:BreezyUpgrade|Deutsch| [[::BreezyUpgrade/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/el | • {{#if: UbuntuHelp:BreezyUpgrade|Ελληνικά| [[::BreezyUpgrade/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/es | • {{#if: UbuntuHelp:BreezyUpgrade|español| [[::BreezyUpgrade/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/fa | • {{#if: UbuntuHelp:BreezyUpgrade|فارسی| [[::BreezyUpgrade/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/fi | • {{#if: UbuntuHelp:BreezyUpgrade|suomi| [[::BreezyUpgrade/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/fr | • {{#if: UbuntuHelp:BreezyUpgrade|français| [[::BreezyUpgrade/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/gu | • {{#if: UbuntuHelp:BreezyUpgrade|ગુજરાતી| [[::BreezyUpgrade/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/he | • {{#if: UbuntuHelp:BreezyUpgrade|עברית| [[::BreezyUpgrade/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/hu | • {{#if: UbuntuHelp:BreezyUpgrade|magyar| [[::BreezyUpgrade/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/id | • {{#if: UbuntuHelp:BreezyUpgrade|Bahasa Indonesia| [[::BreezyUpgrade/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/it | • {{#if: UbuntuHelp:BreezyUpgrade|italiano| [[::BreezyUpgrade/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/ja | • {{#if: UbuntuHelp:BreezyUpgrade|日本語| [[::BreezyUpgrade/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/ko | • {{#if: UbuntuHelp:BreezyUpgrade|한국어| [[::BreezyUpgrade/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/ksh | • {{#if: UbuntuHelp:BreezyUpgrade|Ripoarisch| [[::BreezyUpgrade/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/mr | • {{#if: UbuntuHelp:BreezyUpgrade|मराठी| [[::BreezyUpgrade/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/ms | • {{#if: UbuntuHelp:BreezyUpgrade|Bahasa Melayu| [[::BreezyUpgrade/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/nl | • {{#if: UbuntuHelp:BreezyUpgrade|Nederlands| [[::BreezyUpgrade/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/no | • {{#if: UbuntuHelp:BreezyUpgrade|norsk| [[::BreezyUpgrade/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/oc | • {{#if: UbuntuHelp:BreezyUpgrade|occitan| [[::BreezyUpgrade/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/pl | • {{#if: UbuntuHelp:BreezyUpgrade|polski| [[::BreezyUpgrade/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/pt | • {{#if: UbuntuHelp:BreezyUpgrade|português| [[::BreezyUpgrade/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/ro | • {{#if: UbuntuHelp:BreezyUpgrade|română| [[::BreezyUpgrade/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/ru | • {{#if: UbuntuHelp:BreezyUpgrade|русский| [[::BreezyUpgrade/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/si | • {{#if: UbuntuHelp:BreezyUpgrade|සිංහල| [[::BreezyUpgrade/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/sq | • {{#if: UbuntuHelp:BreezyUpgrade|shqip| [[::BreezyUpgrade/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/sr | • {{#if: UbuntuHelp:BreezyUpgrade|српски / srpski| [[::BreezyUpgrade/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/sv | • {{#if: UbuntuHelp:BreezyUpgrade|svenska| [[::BreezyUpgrade/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/th | • {{#if: UbuntuHelp:BreezyUpgrade|ไทย| [[::BreezyUpgrade/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/tr | • {{#if: UbuntuHelp:BreezyUpgrade|Türkçe| [[::BreezyUpgrade/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/vi | • {{#if: UbuntuHelp:BreezyUpgrade|Tiếng Việt| [[::BreezyUpgrade/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/yue | • {{#if: UbuntuHelp:BreezyUpgrade|粵語| [[::BreezyUpgrade/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/zh | • {{#if: UbuntuHelp:BreezyUpgrade|中文| [[::BreezyUpgrade/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/zh-hans | • {{#if: UbuntuHelp:BreezyUpgrade|中文(简体)| [[::BreezyUpgrade/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgrade | UbuntuHelp:BreezyUpgrade | {{#if: | :}}BreezyUpgrade}}/zh-hant | • {{#if: UbuntuHelp:BreezyUpgrade|中文(繁體)| [[::BreezyUpgrade/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BreezyUpgrade|:BreezyUpgrade|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :BreezyUpgrade/zh | | {{#ifexist: BreezyUpgrade/zh | | {{#ifeq: {{#titleparts:BreezyUpgrade|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BreezyUpgrade|1|-1|}} | zh | | }}
Note: Upgrades from Ubuntu 4.10 (Warty Warthog) to Ubuntu 5.10 (Breezy Badger) are not supported and not recommended. See HoaryUpgradeNotes to upgrade to Ubuntu 5.04 (Hoary Hedgehog)
Pre-Upgrade
- It is recommended that you have the "ubuntu-desktop", "kubuntu-desktop", or "edubuntu-desktop" metapackage (depending on which distribution you're running exactly) 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. Ed/k/ubuntu relies on the respective package to perform the successful upgrade.
sudo apt-get install ubuntu-base ubuntu-desktop
To Upgrade
With Breezy CD and Synaptic
- Open up Synaptic Package Manager
- Click on "Edit/Add CD-ROM"
- Click on "Edit/Mark All Upgrades"
- Click on "Apply"
- See the additional notes below
- 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
- Open up Synaptic Package Manager
- Change your repositories to look for Breezy (open menu Settings/Repositories and Edit each source to change "hoary" to "breezy")
From
URI: http://archive.ubuntu.com/ubuntu/ Distribution: hoary Sections: main restricted
To
http://archive.ubuntu.com/ubuntu/ Distribution: breezy Sections: main restricted
- Reload sources
- Mark All Upgrades
Apt-Get
- Open up a terminal
- gksudo gedit /etc/apt/sources.list (for ubuntu/edubuntu) kdesu kwrite /etc/apt/sources.list (for Kubuntu)
- Replace with the following:
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted deb http://security.ubuntu.com/ubuntu breezy-security main restricted deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted deb http://security.ubuntu.com/ubuntu breezy-security universe deb-src http://security.ubuntu.com/ubuntu breezy-security universe
- sudo apt-get update
- sudo apt-get dist-upgrade
Post-Upgrade
- If not running NFS as either client or server, remove portmap, as it's no longer needed:
sudo apt-get --purge remove portmap
- If you have an nVidia graphics card, you will have to re-enable it:
sudo nvidia-glx-config enable
- 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).
- Start "update-notifier" and save your gnome-session if you want update notification automatically
- Reboot in order to effect all changes (XFree86 to X.org, kernel upgrade, etc.)
- If you have problems after the update with postfix (and the packages that depends on it). you just remove and install postfix again. One way of doing this is:
sudo apt-get install --reinstall postfix
Mirror servers
The bandwidth of the main Ubuntu server is not infinite. If you have a very low transfer rate, it is advisable for you to use a mirror. You can find a list of mirrors at https://wiki.ubuntu.com/Archive (this list hasn't been reviewed for a long time and some of these servers may be down). It was made for warty, but notice that these servers are regularly synced with the main server, so you will find breezy packages there as well. Try to find a server which is located somewhere in your country or somewhere close to you. You will probably ask how to use a mirror instead of the main Ubuntu repository. It's quite simple. First find a server suitable for you (e.g.choose one from here https://wiki.ubuntu.com/Archive). I will use a German mirror as an example - http://debian.charite.de/ubuntu/.
- Open up a terminal
- gksudo gedit /etc/apt/sources.list
- and now modify the address of the server. if you used the default settings shown above you will see
deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
just change it to
deb http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted deb-src http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted
- sudo apt-get update
- and you're ready to go
Comments
Comments for this upgrade
- NDISWrapper would not load as a kernel module after my upgrade. I kept getting the error: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.12-9-686-smp/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permitted. To get NDISWrapper to work correctly, I had to do the following:
1. Uninstall the current driver. Use ''ndiswrapper -l'' to get the name of the loaded driver, then ''ndiswrapper -e NAME'' to remove the currently installed driver. 2. Reinstall the driver with the command ''ndiswrapper -i DRIVER.inf'' using your windows driver. 3. You should now be able to ''modprobe ndiswrapper'' successfully.
- Also if you complied ndiswrapper for a previous kernel you have to recompile it for the new kernel.
Firstly install the linux-headers for your kernel e.g. 2.6.12-9-386 (use Synaptic).
Then go to the directory that you extracted the ndiswrapper files to and run:
sudo make distclean sudo make sudo make install
If your only internet connection is via an ndiswrapper wireless card you can temporarily use the old kernel from the grub menu in order to download the files needed.
- The GNOME panel may rapidly leak memory during the upgrade process. Possible workarounds:
- Open the System Monitor before upgrading, and watch how much Virual Memory the
gnome-panel
process uses. If this number grows rapidly during installation, just kill the process (the installation will finish nicely, and the panel will re-appear if you reboot). - If you have KDE installed, you can use it instead of GNOME while upgrading.
Comments copied from the HoaryUpgrade
- Only problem I ran into was I needed to reconfigure X which was solved with a
sudo dpkg-reconfigure xserver-xorg
- If using the fglrx-driver package in Hoary, install xorg-driver-fglrx in Breezy
- 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
- 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"