特殊:Badtitle/NS100:FeistyUpgradesManual:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第65行: | 第65行: | ||
=== Notes === | === Notes === | ||
* If run a manual upgrade and you have apache2 and php5 installed, make sure to start apache before the upgrade (/etc/init.d/apache2 start). See bug | * If run a manual upgrade and you have apache2 and php5 installed, make sure to start apache before the upgrade (/etc/init.d/apache2 start). See bug [https://launchpad.net/bugs/95325 bug #95325] for details. | ||
* If you do not have the admin group on your system (e.g. because you upgraded all the way back from warty) it will be added during the upgrade. Make sure to add your sudo user(s) to it. | * If you do not have the admin group on your system (e.g. because you upgraded all the way back from warty) it will be added during the upgrade. Make sure to add your sudo user(s) to it. | ||
* If you have pango-libthai installed, remove it before the upgrade | * If you have pango-libthai installed, remove it before the upgrade |
2008年10月19日 (日) 15:07的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/FeistyUpgradesManual }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/af | • {{#if: UbuntuHelp:FeistyUpgradesManual|Afrikaans| [[::FeistyUpgradesManual/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/ar | • {{#if: UbuntuHelp:FeistyUpgradesManual|العربية| [[::FeistyUpgradesManual/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/az | • {{#if: UbuntuHelp:FeistyUpgradesManual|azərbaycanca| [[::FeistyUpgradesManual/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/bcc | • {{#if: UbuntuHelp:FeistyUpgradesManual|جهلسری بلوچی| [[::FeistyUpgradesManual/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/bg | • {{#if: UbuntuHelp:FeistyUpgradesManual|български| [[::FeistyUpgradesManual/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/br | • {{#if: UbuntuHelp:FeistyUpgradesManual|brezhoneg| [[::FeistyUpgradesManual/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/ca | • {{#if: UbuntuHelp:FeistyUpgradesManual|català| [[::FeistyUpgradesManual/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/cs | • {{#if: UbuntuHelp:FeistyUpgradesManual|čeština| [[::FeistyUpgradesManual/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/de | • {{#if: UbuntuHelp:FeistyUpgradesManual|Deutsch| [[::FeistyUpgradesManual/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/el | • {{#if: UbuntuHelp:FeistyUpgradesManual|Ελληνικά| [[::FeistyUpgradesManual/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/es | • {{#if: UbuntuHelp:FeistyUpgradesManual|español| [[::FeistyUpgradesManual/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/fa | • {{#if: UbuntuHelp:FeistyUpgradesManual|فارسی| [[::FeistyUpgradesManual/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/fi | • {{#if: UbuntuHelp:FeistyUpgradesManual|suomi| [[::FeistyUpgradesManual/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/fr | • {{#if: UbuntuHelp:FeistyUpgradesManual|français| [[::FeistyUpgradesManual/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/gu | • {{#if: UbuntuHelp:FeistyUpgradesManual|ગુજરાતી| [[::FeistyUpgradesManual/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/he | • {{#if: UbuntuHelp:FeistyUpgradesManual|עברית| [[::FeistyUpgradesManual/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/hu | • {{#if: UbuntuHelp:FeistyUpgradesManual|magyar| [[::FeistyUpgradesManual/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/id | • {{#if: UbuntuHelp:FeistyUpgradesManual|Bahasa Indonesia| [[::FeistyUpgradesManual/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/it | • {{#if: UbuntuHelp:FeistyUpgradesManual|italiano| [[::FeistyUpgradesManual/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/ja | • {{#if: UbuntuHelp:FeistyUpgradesManual|日本語| [[::FeistyUpgradesManual/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/ko | • {{#if: UbuntuHelp:FeistyUpgradesManual|한국어| [[::FeistyUpgradesManual/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/ksh | • {{#if: UbuntuHelp:FeistyUpgradesManual|Ripoarisch| [[::FeistyUpgradesManual/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/mr | • {{#if: UbuntuHelp:FeistyUpgradesManual|मराठी| [[::FeistyUpgradesManual/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/ms | • {{#if: UbuntuHelp:FeistyUpgradesManual|Bahasa Melayu| [[::FeistyUpgradesManual/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/nl | • {{#if: UbuntuHelp:FeistyUpgradesManual|Nederlands| [[::FeistyUpgradesManual/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/no | • {{#if: UbuntuHelp:FeistyUpgradesManual|norsk| [[::FeistyUpgradesManual/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/oc | • {{#if: UbuntuHelp:FeistyUpgradesManual|occitan| [[::FeistyUpgradesManual/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/pl | • {{#if: UbuntuHelp:FeistyUpgradesManual|polski| [[::FeistyUpgradesManual/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/pt | • {{#if: UbuntuHelp:FeistyUpgradesManual|português| [[::FeistyUpgradesManual/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/ro | • {{#if: UbuntuHelp:FeistyUpgradesManual|română| [[::FeistyUpgradesManual/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/ru | • {{#if: UbuntuHelp:FeistyUpgradesManual|русский| [[::FeistyUpgradesManual/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/si | • {{#if: UbuntuHelp:FeistyUpgradesManual|සිංහල| [[::FeistyUpgradesManual/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/sq | • {{#if: UbuntuHelp:FeistyUpgradesManual|shqip| [[::FeistyUpgradesManual/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/sr | • {{#if: UbuntuHelp:FeistyUpgradesManual|српски / srpski| [[::FeistyUpgradesManual/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/sv | • {{#if: UbuntuHelp:FeistyUpgradesManual|svenska| [[::FeistyUpgradesManual/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/th | • {{#if: UbuntuHelp:FeistyUpgradesManual|ไทย| [[::FeistyUpgradesManual/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/tr | • {{#if: UbuntuHelp:FeistyUpgradesManual|Türkçe| [[::FeistyUpgradesManual/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/vi | • {{#if: UbuntuHelp:FeistyUpgradesManual|Tiếng Việt| [[::FeistyUpgradesManual/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/yue | • {{#if: UbuntuHelp:FeistyUpgradesManual|粵語| [[::FeistyUpgradesManual/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/zh | • {{#if: UbuntuHelp:FeistyUpgradesManual|中文| [[::FeistyUpgradesManual/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/zh-hans | • {{#if: UbuntuHelp:FeistyUpgradesManual|中文(简体)| [[::FeistyUpgradesManual/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FeistyUpgradesManual | UbuntuHelp:FeistyUpgradesManual | {{#if: | :}}FeistyUpgradesManual}}/zh-hant | • {{#if: UbuntuHelp:FeistyUpgradesManual|中文(繁體)| [[::FeistyUpgradesManual/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:FeistyUpgradesManual|:FeistyUpgradesManual|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :FeistyUpgradesManual/zh | | {{#ifexist: FeistyUpgradesManual/zh | | {{#ifeq: {{#titleparts:FeistyUpgradesManual|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:FeistyUpgradesManual|1|-1|}} | zh | | }}
Manual upgrades to Feisty
Please note - this method is less reliable. If you use this method, you MUST be prepared to fix problems manually, such as packages being unexpectedly removed, apt crashing unexpectedly, etc. It is highly recommended that you use the automatic upgrade instructions on FeistyUpgrades instead.
- Make sure that you have the packages "ubuntu-minimal" and "ubuntu-standard" installed, regardless of whether you're using Ubuntu, Kubuntu, Xubuntu or Edubuntu:
Example:
sudo apt-get install ubuntu-minimal ubuntu-standard
- The appropriate desktop package for your version of Ubuntu must also be installed. They are "ubuntu-desktop" for Ubuntu, "kubuntu-desktop" for Kubuntu, "xubuntu-desktop" for Xubuntu, and "edubuntu-desktop" for Edubuntu:
Example: For Ubuntu
sudo apt-get install ubuntu-desktop
For Kubuntu
sudo apt-get install kubuntu-desktop
For Xubuntu
sudo apt-get install xubuntu-desktop
For Edubuntu
sudo apt-get install edubuntu-desktop
- Edit your /etc/apt/sources.list as root. Change every occurrence of edgy to feisty. It is also recommended that you remove or disable any extra repository that may have been added besides the Ubuntu repositories.
- Long route: Use your preferred editor. If you have a CD-ROM line in your file, then remove it.
For Ubuntu.
gksudo gedit /etc/apt/sources.list
For Kubuntu.
kdesu kate /etc/apt/sources.list
For Xubuntu.
gksudo mousepad /etc/apt/sources.list
In any terminal program.
sudo nano /etc/apt/sources.list sudo vi /etc/apt/sources.list
- Shortcut:
sudo sed -e 's/\sedgy/ feisty/g' -i /etc/apt/sources.list
NOTE: This might not remove old CD-ROM lines. Manual inspection is suggested after running this command. (see Long Route)
- If you have the alternate install CD, you can save bandwidth by loading the CD into your CD-ROM drive and using:
sudo apt-cdrom add
- Perform the upgrade:
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get dist-upgrade
OR, You can also use Aptitude:
sudo aptitude update && sudo aptitude dist-upgrade && sudo aptitude dist-upgrade
NOTE: The first run of dist-upgrade will upgrade everything except for upstart. After this a second dist-upgrade will finish the upgrade.
- Just to be totally sure that everything is installed properly, run these commands:
sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get -f install sudo dpkg --configure -a
Running dist-upgrade again is done to ensure that no packages are left to install or upgrade. In some cases, certain packages fail to install even after running dist-upgrade the second time.
- Reboot in order to effect all changes. (kernel upgrades, upstart, etc...)
Notes
- If run a manual upgrade and you have apache2 and php5 installed, make sure to start apache before the upgrade (/etc/init.d/apache2 start). See bug bug #95325 for details.
- If you do not have the admin group on your system (e.g. because you upgraded all the way back from warty) it will be added during the upgrade. Make sure to add your sudo user(s) to it.
- If you have pango-libthai installed, remove it before the upgrade
- You may want to run /usr/lib/python2.5/site-packages/DistUpgrade/apt-autoinst-fixup.py (from the update-manager package) also to fix a common problem with the automatically installed information
--