特殊:Badtitle/NS100:BreezyUpgradeNotes:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的3个中间版本) | |||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:BreezyUpgradeNotes}} | {{Languages|UbuntuHelp:BreezyUpgradeNotes}} | ||
== Pre-Upgrade == | == Pre-Upgrade == | ||
<ol><li>Resolve any conflicting packages. Conflicting packages could possibly stop the upgrade, even at a very inconvenient stage. For a common example, if you have the packages mozilla-firefox and firefox installed, you should perform the following:<pre><nowiki>sudo apt-get remove firefox mozilla-firefox | |||
<pre><nowiki>sudo apt-get remove firefox mozilla-firefox | |||
sudo apt-get install mozilla-firefox</nowiki></pre> | sudo apt-get install mozilla-firefox</nowiki></pre> | ||
</li><li>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.<pre><nowiki> | |||
<pre><nowiki> | |||
sudo apt-get install ubuntu-base ubuntu-desktop</nowiki></pre> | sudo apt-get install ubuntu-base ubuntu-desktop</nowiki></pre> | ||
</li><li>Prevent the upgrade from replacing your Sun or IBM Java with GIJ by using a dummy package:<pre><nowiki>wget http://homepage.mac.com/danielg4/java1-runtime-local_1.0_all.deb | |||
<pre><nowiki>wget http://homepage.mac.com/danielg4/java1-runtime-local_1.0_all.deb | sudo dpkg -i java1-runtime-local_1.0_all.deb</nowiki></pre></li></ol> | ||
sudo dpkg -i java1-runtime-local_1.0_all.deb</nowiki></pre> | |||
== To Upgrade == | == To Upgrade == | ||
=== Upgrading with Breezy CD and Synaptic === | === Upgrading with Breezy CD and Synaptic === | ||
<ol><li>Open up Synaptic Package Manager | |||
</li><li>Click on "Edit/Add CD-ROM" | |||
</li><li>Click on "Mark All Upgrades" | |||
</li><li>Click on "Apply" | |||
</li><li>See the additional notes below | |||
</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> | |||
=== Upgrading with Synaptic Package Manager === | === Upgrading with Synaptic Package Manager === | ||
<ol><li>Open up Synaptic Package Manager | |||
</li><li>Change your repositories to look for Breezy</li></ol> | |||
From | |||
<pre><nowiki> | From <pre><nowiki> | ||
URI: http://archive.ubuntu.com/ubuntu/ | URI: http://archive.ubuntu.com/ubuntu/ | ||
Distribution: hoary | Distribution: hoary | ||
Sections: main restricted</nowiki></pre> | Sections: main restricted</nowiki></pre> | ||
To | To <pre><nowiki> | ||
<pre><nowiki> | URI: http://archive.ubuntu.com/ubuntu/ | ||
URI: http://archive.ubuntu.com/ubuntu/ | Distribution: breezy | ||
Distribution: breezy | Sections: main restricted</nowiki></pre> | ||
Sections: main restricted</nowiki></pre> | <ol><li>Click on "Reload" | ||
</li><li>Click on "Mark All Upgrades" | |||
</li><li>Click on "Apply"</li></ol> | |||
=== Upgrading with apt-get === | === Upgrading with apt-get === | ||
<ol><li>Open up a terminal and run this command:</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
gksudo gedit /etc/apt/sources.list </nowiki></pre> | gksudo gedit /etc/apt/sources.list </nowiki></pre> | ||
Alternativly, you may use a CLI based editor like ''nano'' or ''vi'': | Alternativly, you may use a CLI based editor like ''nano'' or ''vi'': | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo nano /etc/apt/sources.list | sudo nano /etc/apt/sources.list | ||
sudo vi /etc/apt/sources.list</nowiki></pre> | sudo vi /etc/apt/sources.list</nowiki></pre> | ||
<ol><li>Replace with the following:</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
## Major bug fix updates produced after the final release of the | ## Major bug fix updates produced after the final release of the | ||
## distribution. | ## distribution. | ||
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted | deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted | ||
deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted | deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted | ||
## Uncomment the following two lines to add software from the 'universe' | |||
## repository. | ## Uncomment the following two lines to add software from the 'universe' | ||
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu | ## repository. | ||
## team, and may not be under a free licence. Please satisfy yourself as to | ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu | ||
## your rights to use the software. Also, please note that software in | ## team, and may not be under a free licence. Please satisfy yourself as to | ||
## universe WILL NOT receive any review or updates from the Ubuntu security | ## your rights to use the software. Also, please note that software in | ||
## team. | ## universe WILL NOT receive any review or updates from the Ubuntu security | ||
deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted | ## team. | ||
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted | deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted | ||
deb http://security.ubuntu.com/ubuntu breezy-security main restricted | deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted | ||
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted | |||
deb http://security.ubuntu.com/ubuntu breezy-security universe | deb http://security.ubuntu.com/ubuntu breezy-security main restricted | ||
deb-src http://security.ubuntu.com/ubuntu breezy-security universe | deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted | ||
</nowiki></pre> | |||
deb http://security.ubuntu.com/ubuntu breezy-security universe | |||
deb-src http://security.ubuntu.com/ubuntu breezy-security universe | |||
</nowiki></pre> | |||
'''Note''': if you're not going to compile Ubuntu packages yourself, you may comment out the lines beginning with deb-src. If you don't know what that means, this applies to you. :) Comment out a line by adding at least one # character at the beginning of the line, as in the example above. Typically, two #'s are used for a textual comment, and one # is used to disable a source. | '''Note''': if you're not going to compile Ubuntu packages yourself, you may comment out the lines beginning with deb-src. If you don't know what that means, this applies to you. :) Comment out a line by adding at least one # character at the beginning of the line, as in the example above. Typically, two #'s are used for a textual comment, and one # is used to disable a source. | ||
<ol><li>Run this command:</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get update && sudo apt-get dist-upgrade </nowiki></pre> | sudo apt-get update && sudo apt-get dist-upgrade </nowiki></pre> | ||
<ol><li>Just to be totally sure that everything is installed properly, run these commands:</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get -f install | sudo apt-get -f install | ||
sudo dpkg --configure -a </nowiki></pre> | sudo dpkg --configure -a </nowiki></pre> | ||
== 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> | |||
<pre><nowiki> | |||
sudo apt-get --purge remove portmap</nowiki></pre> | sudo apt-get --purge remove portmap</nowiki></pre> | ||
</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). | |||
</li><li>Start "update-notifier" and save your gnome-session if you want update notification automatically | |||
</li><li>Reconfiguring X</li></ol> | |||
* If you have manually edited your /etc/X11/xorg.conf file, check for these lines: | * If you have manually edited your /etc/X11/xorg.conf file, check for these lines: | ||
<pre><nowiki> | <pre><nowiki> | ||
FontPath "/usr/lib/X11/fonts/misc" </nowiki></pre> | FontPath "/usr/lib/X11/fonts/misc" </nowiki></pre> | ||
The location of the fonts have changed, change all occurences of that into: | The location of the fonts have changed, change all occurences of that into: | ||
<pre><nowiki> | <pre><nowiki> | ||
FontPath "/usr/share/X11/fonts/misc" </nowiki></pre> | FontPath "/usr/share/X11/fonts/misc" </nowiki></pre> | ||
Do this for all the other lines as well, but be sure to keep the ending of the lines the same! so a line ending with 100dpi/:unscaled should still end with that, only change the 'lib' to 'share' in the configuration file. | Do this for all the other lines as well, but be sure to keep the ending of the lines the same! so a line ending with 100dpi/:unscaled should still end with that, only change the 'lib' to 'share' in the configuration file. | ||
* Alternativly, you may reconfigure your X server with: | * Alternativly, you may reconfigure your X server with: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo dpkg-reconfigure xserver-xorg </nowiki></pre> | sudo dpkg-reconfigure xserver-xorg </nowiki></pre> | ||
<ol><li>Reboot in order to effect all changes (XFree86 to X.org, kernel upgrade, etc.)</li></ol> | |||
== Additional Notes == | == Additional Notes == | ||
=== Mirror servers === | === 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. | 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/. | 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/. | ||
<ol><li>Open up a terminal and run this command:</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
gksudo gedit /etc/apt/sources.list </nowiki></pre> | gksudo gedit /etc/apt/sources.list </nowiki></pre> | ||
Alternativly, you may use a CLI based editor like ''nano'' or ''vi'': | Alternativly, you may use a CLI based editor like ''nano'' or ''vi'': | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo nano /etc/apt/sources.list | sudo nano /etc/apt/sources.list | ||
sudo vi /etc/apt/sources.list</nowiki></pre> | sudo vi /etc/apt/sources.list</nowiki></pre> | ||
<ol><li>Modify the address of the server. if you used the default settings shown above you will see</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted | deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted | ||
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted </nowiki></pre> | deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted </nowiki></pre> | ||
Change it to: | Change it to: | ||
<pre><nowiki> | <pre><nowiki> | ||
deb http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted | deb http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted | ||
deb-src http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted </nowiki></pre> | deb-src http://debian.charite.de/ubuntu/ breezy main universe multiverse restricted </nowiki></pre> | ||
<ol><li>Run this command to finish.</li></ol> | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get update </nowiki></pre> | sudo apt-get update </nowiki></pre> | ||
=== Comments === | === Comments === | ||
==== Comments for this upgrade ==== | ==== Comments for this upgrade ==== | ||
<ol><li>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:<pre><nowiki> | |||
<pre><nowiki> | 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. | |||
then ''ndiswrapper -e NAME'' to remove the currently installed driver. | 2. Reinstall the driver with the comment ''ndiswrapper -i DRIVER.inf'' using your windows driver. | ||
2. Reinstall the driver with the comment ''ndiswrapper -i DRIVER.inf'' using your windows driver. | 3. You should now be able to ''modprobe ndiswrapper'' successfully.</nowiki></pre></li></ol> | ||
3. You should now be able to ''modprobe ndiswrapper'' successfully.</nowiki></pre> | |||
------ | ------ | ||
My upgrade has completely killed X, probably because of the nvidia drivers I had installed. | My upgrade has completely killed X, probably because of the nvidia drivers I had installed. | ||
第157行: | 第167行: | ||
The sectioning makes it look like if you use Synaptic and the Breezy CD to do the upgrade, you don't have to edit /etc/apt/sources.list, but in fact you do (or at least I had to). | The sectioning makes it look like if you use Synaptic and the Breezy CD to do the upgrade, you don't have to edit /etc/apt/sources.list, but in fact you do (or at least I had to). | ||
==== Comments copied from the HoaryUpgrade ==== | ==== Comments copied from the HoaryUpgrade ==== | ||
<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> | |||
</li><li>If using the fglrx-driver package in Hoary, install xorg-driver-fglrx in Breezy | |||
</li><li>Some systems may require extra action to create /dev/cdrom symlinks on boot if desired: <pre><nowiki> | |||
<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> | |||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] [[category:CategoryCleanup]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年4月23日 (三) 10:30的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BreezyUpgradeNotes }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/af | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Afrikaans| [[::BreezyUpgradeNotes/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/ar | • {{#if: UbuntuHelp:BreezyUpgradeNotes|العربية| [[::BreezyUpgradeNotes/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/az | • {{#if: UbuntuHelp:BreezyUpgradeNotes|azərbaycanca| [[::BreezyUpgradeNotes/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/bcc | • {{#if: UbuntuHelp:BreezyUpgradeNotes|جهلسری بلوچی| [[::BreezyUpgradeNotes/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/bg | • {{#if: UbuntuHelp:BreezyUpgradeNotes|български| [[::BreezyUpgradeNotes/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/br | • {{#if: UbuntuHelp:BreezyUpgradeNotes|brezhoneg| [[::BreezyUpgradeNotes/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/ca | • {{#if: UbuntuHelp:BreezyUpgradeNotes|català| [[::BreezyUpgradeNotes/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/cs | • {{#if: UbuntuHelp:BreezyUpgradeNotes|čeština| [[::BreezyUpgradeNotes/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/de | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Deutsch| [[::BreezyUpgradeNotes/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/el | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Ελληνικά| [[::BreezyUpgradeNotes/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/es | • {{#if: UbuntuHelp:BreezyUpgradeNotes|español| [[::BreezyUpgradeNotes/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/fa | • {{#if: UbuntuHelp:BreezyUpgradeNotes|فارسی| [[::BreezyUpgradeNotes/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/fi | • {{#if: UbuntuHelp:BreezyUpgradeNotes|suomi| [[::BreezyUpgradeNotes/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/fr | • {{#if: UbuntuHelp:BreezyUpgradeNotes|français| [[::BreezyUpgradeNotes/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/gu | • {{#if: UbuntuHelp:BreezyUpgradeNotes|ગુજરાતી| [[::BreezyUpgradeNotes/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/he | • {{#if: UbuntuHelp:BreezyUpgradeNotes|עברית| [[::BreezyUpgradeNotes/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/hu | • {{#if: UbuntuHelp:BreezyUpgradeNotes|magyar| [[::BreezyUpgradeNotes/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/id | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Bahasa Indonesia| [[::BreezyUpgradeNotes/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/it | • {{#if: UbuntuHelp:BreezyUpgradeNotes|italiano| [[::BreezyUpgradeNotes/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/ja | • {{#if: UbuntuHelp:BreezyUpgradeNotes|日本語| [[::BreezyUpgradeNotes/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/ko | • {{#if: UbuntuHelp:BreezyUpgradeNotes|한국어| [[::BreezyUpgradeNotes/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/ksh | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Ripoarisch| [[::BreezyUpgradeNotes/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/mr | • {{#if: UbuntuHelp:BreezyUpgradeNotes|मराठी| [[::BreezyUpgradeNotes/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/ms | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Bahasa Melayu| [[::BreezyUpgradeNotes/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/nl | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Nederlands| [[::BreezyUpgradeNotes/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/no | • {{#if: UbuntuHelp:BreezyUpgradeNotes|norsk| [[::BreezyUpgradeNotes/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/oc | • {{#if: UbuntuHelp:BreezyUpgradeNotes|occitan| [[::BreezyUpgradeNotes/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/pl | • {{#if: UbuntuHelp:BreezyUpgradeNotes|polski| [[::BreezyUpgradeNotes/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/pt | • {{#if: UbuntuHelp:BreezyUpgradeNotes|português| [[::BreezyUpgradeNotes/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/ro | • {{#if: UbuntuHelp:BreezyUpgradeNotes|română| [[::BreezyUpgradeNotes/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/ru | • {{#if: UbuntuHelp:BreezyUpgradeNotes|русский| [[::BreezyUpgradeNotes/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/si | • {{#if: UbuntuHelp:BreezyUpgradeNotes|සිංහල| [[::BreezyUpgradeNotes/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/sq | • {{#if: UbuntuHelp:BreezyUpgradeNotes|shqip| [[::BreezyUpgradeNotes/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/sr | • {{#if: UbuntuHelp:BreezyUpgradeNotes|српски / srpski| [[::BreezyUpgradeNotes/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/sv | • {{#if: UbuntuHelp:BreezyUpgradeNotes|svenska| [[::BreezyUpgradeNotes/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/th | • {{#if: UbuntuHelp:BreezyUpgradeNotes|ไทย| [[::BreezyUpgradeNotes/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/tr | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Türkçe| [[::BreezyUpgradeNotes/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/vi | • {{#if: UbuntuHelp:BreezyUpgradeNotes|Tiếng Việt| [[::BreezyUpgradeNotes/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/yue | • {{#if: UbuntuHelp:BreezyUpgradeNotes|粵語| [[::BreezyUpgradeNotes/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/zh | • {{#if: UbuntuHelp:BreezyUpgradeNotes|中文| [[::BreezyUpgradeNotes/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/zh-hans | • {{#if: UbuntuHelp:BreezyUpgradeNotes|中文(简体)| [[::BreezyUpgradeNotes/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BreezyUpgradeNotes | UbuntuHelp:BreezyUpgradeNotes | {{#if: | :}}BreezyUpgradeNotes}}/zh-hant | • {{#if: UbuntuHelp:BreezyUpgradeNotes|中文(繁體)| [[::BreezyUpgradeNotes/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BreezyUpgradeNotes|:BreezyUpgradeNotes|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :BreezyUpgradeNotes/zh | | {{#ifexist: BreezyUpgradeNotes/zh | | {{#ifeq: {{#titleparts:BreezyUpgradeNotes|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BreezyUpgradeNotes|1|-1|}} | zh | | }}
Pre-Upgrade
- Resolve any conflicting packages. Conflicting packages could possibly stop the upgrade, even at a very inconvenient stage. For a common example, if you have the packages mozilla-firefox and firefox installed, you should perform the following:
sudo apt-get remove firefox mozilla-firefox sudo apt-get install mozilla-firefox
- 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
- Prevent the upgrade from replacing your Sun or IBM Java with GIJ by using a dummy package:
wget http://homepage.mac.com/danielg4/java1-runtime-local_1.0_all.deb sudo dpkg -i java1-runtime-local_1.0_all.deb
To Upgrade
Upgrading with Breezy CD and Synaptic
- Open up Synaptic Package Manager
- Click on "Edit/Add CD-ROM"
- Click on "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
Upgrading with Synaptic Package Manager
- Open up Synaptic Package Manager
- Change your repositories to look for Breezy
From
URI: http://archive.ubuntu.com/ubuntu/ Distribution: hoary Sections: main restricted
To
URI: http://archive.ubuntu.com/ubuntu/ Distribution: breezy Sections: main restricted
- Click on "Reload"
- Click on "Mark All Upgrades"
- Click on "Apply"
Upgrading with apt-get
- Open up a terminal and run this command:
gksudo gedit /etc/apt/sources.list
Alternativly, you may use a CLI based editor like nano or vi:
sudo nano /etc/apt/sources.list sudo vi /etc/apt/sources.list
- Replace with the following:
## Major bug fix updates produced after the final release of the ## distribution. deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. 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
Note: if you're not going to compile Ubuntu packages yourself, you may comment out the lines beginning with deb-src. If you don't know what that means, this applies to you. :) Comment out a line by adding at least one # character at the beginning of the line, as in the example above. Typically, two #'s are used for a textual comment, and one # is used to disable a source.
- Run this command:
sudo apt-get update && sudo apt-get dist-upgrade
- Just to be totally sure that everything is installed properly, run these commands:
sudo apt-get -f install sudo dpkg --configure -a
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 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
- Reconfiguring X
- If you have manually edited your /etc/X11/xorg.conf file, check for these lines:
FontPath "/usr/lib/X11/fonts/misc"
The location of the fonts have changed, change all occurences of that into:
FontPath "/usr/share/X11/fonts/misc"
Do this for all the other lines as well, but be sure to keep the ending of the lines the same! so a line ending with 100dpi/:unscaled should still end with that, only change the 'lib' to 'share' in the configuration file.
- Alternativly, you may reconfigure your X server with:
sudo dpkg-reconfigure xserver-xorg
- Reboot in order to effect all changes (XFree86 to X.org, kernel upgrade, etc.)
Additional Notes
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 and run this command:
gksudo gedit /etc/apt/sources.list
Alternativly, you may use a CLI based editor like nano or vi:
sudo nano /etc/apt/sources.list sudo vi /etc/apt/sources.list
- 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
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
- Run this command to finish.
sudo apt-get update
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 comment ''ndiswrapper -i DRIVER.inf'' using your windows driver. 3. You should now be able to ''modprobe ndiswrapper'' successfully.
My upgrade has completely killed X, probably because of the nvidia drivers I had installed. Details, please. adam mcgreggor, 20051015 — if it's anything like my borkenness (also with a Nvida gpu), gdm will Just Not Launch, even after
dpkg-reconfigure xserver-xorg
In my case, X fails to load, throwing up a generic 'probably malconfigured' notice, and then hanging, leaving me to
kill
the {g|x}dm process. Any hints welcomed... [if my lspci output & xorg.conf would be useful, that can be done] update, adam mcgreggor 20051016 — it appears that the upgrade hadn't completed, getting broken with a couple of packages which have now been resolved. Which is nice. Other victims may want to check that the upgrade did complete! matthew keen, 20051017 — The above has happened to a few of my systems aswell, appears that the upgrade does not complete, from a terminal you may want to issue the below command, which actually completed the failed installation minus a few errors, and you will also want to change your Xorg conf as discussed above.
sudo apt-get -f upgrade
mbwardle, 20051024 My X server would not start complaining about being unable to find the default font 'fixed'. I had to manually add an alias to /usr/share/X11/fonts/100dpi/fonts.alias. Even after performing all the other suggested steps. I have no idea why.
If you're upgrading using Synaptic and your upgrade seems to have paused at the "Installing software" stage, click ">Terminal" to uncollapse the terminal subwindow and check it's not stopped waiting for user input! Mine was asking if I wanted to restart services after an nsswitch upgrade.
No information is given about how to find out what the list of conflicting packages is, or even what a conflicting package is.
How to know if there are conflicting packages? Is it enough to do "Edit->Fix Broken Packages " in Synaptic?
Define "conflicting packages". Seems like I'm not the only puzzled one based on the above.
If you are not able to access CD-ROMs from the GNOME Desktop but can mount them from the command line using "mount /cdrom", you may need to add yourself to the plugdev group. You can do this using
sudo gpasswd -a ''user'' plugdev
The upgrade is typically of the order of 500+ MB, with OpenOffice.org alone weighing in at ~150 MB. So, dial-up users may want to keep this in mind, possibly using the -d instruction to apt-get in order to spread the download over several dial-up sessions. sudo apt-get -d dist-upgrade
will only download until it gets everything or is interrupted by the user, and will resume where it left of if run again later. Then you can start the actual upgrade when you have time to answer any questions (which will happen either at the beginning or the end, typically), using the same command without the -d, as mentioned earlier in the article.
http://slashdot.org/comments.pl?sid=165161&cid=13787416
The sectioning makes it look like if you use Synaptic and the Breezy CD to do the upgrade, you don't have to edit /etc/apt/sources.list, but in fact you do (or at least I had to).
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"