特殊:Badtitle/NS100:EOLUpgrades/Edgy:修订间差异
小 创建新页面为 '{{From|https://help.ubuntu.com/community/EOLUpgrades/Edgy}} {{Languages|UbuntuHelp:EOLUpgrades/Edgy}} #title Upgrading Edgy to Feisty << [[UbuntuHelp...' |
(没有差异)
|
2009年11月17日 (二) 19:04的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EOLUpgrades/Edgy }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/af | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Afrikaans| [[::EOLUpgrades/Edgy/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/ar | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|العربية| [[::EOLUpgrades/Edgy/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/az | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|azərbaycanca| [[::EOLUpgrades/Edgy/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/bcc | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|جهلسری بلوچی| [[::EOLUpgrades/Edgy/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/bg | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|български| [[::EOLUpgrades/Edgy/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/br | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|brezhoneg| [[::EOLUpgrades/Edgy/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/ca | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|català| [[::EOLUpgrades/Edgy/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/cs | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|čeština| [[::EOLUpgrades/Edgy/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/de | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Deutsch| [[::EOLUpgrades/Edgy/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/el | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Ελληνικά| [[::EOLUpgrades/Edgy/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/es | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|español| [[::EOLUpgrades/Edgy/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/fa | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|فارسی| [[::EOLUpgrades/Edgy/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/fi | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|suomi| [[::EOLUpgrades/Edgy/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/fr | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|français| [[::EOLUpgrades/Edgy/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/gu | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|ગુજરાતી| [[::EOLUpgrades/Edgy/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/he | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|עברית| [[::EOLUpgrades/Edgy/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/hu | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|magyar| [[::EOLUpgrades/Edgy/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/id | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Bahasa Indonesia| [[::EOLUpgrades/Edgy/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/it | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|italiano| [[::EOLUpgrades/Edgy/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/ja | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|日本語| [[::EOLUpgrades/Edgy/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/ko | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|한국어| [[::EOLUpgrades/Edgy/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/ksh | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Ripoarisch| [[::EOLUpgrades/Edgy/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/mr | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|मराठी| [[::EOLUpgrades/Edgy/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/ms | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Bahasa Melayu| [[::EOLUpgrades/Edgy/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/nl | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Nederlands| [[::EOLUpgrades/Edgy/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/no | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|norsk| [[::EOLUpgrades/Edgy/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/oc | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|occitan| [[::EOLUpgrades/Edgy/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/pl | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|polski| [[::EOLUpgrades/Edgy/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/pt | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|português| [[::EOLUpgrades/Edgy/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/ro | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|română| [[::EOLUpgrades/Edgy/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/ru | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|русский| [[::EOLUpgrades/Edgy/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/si | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|සිංහල| [[::EOLUpgrades/Edgy/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/sq | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|shqip| [[::EOLUpgrades/Edgy/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/sr | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|српски / srpski| [[::EOLUpgrades/Edgy/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/sv | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|svenska| [[::EOLUpgrades/Edgy/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/th | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|ไทย| [[::EOLUpgrades/Edgy/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/tr | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Türkçe| [[::EOLUpgrades/Edgy/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/vi | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|Tiếng Việt| [[::EOLUpgrades/Edgy/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/yue | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|粵語| [[::EOLUpgrades/Edgy/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/zh | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|中文| [[::EOLUpgrades/Edgy/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/zh-hans | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|中文(简体)| [[::EOLUpgrades/Edgy/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Edgy | UbuntuHelp:EOLUpgrades/Edgy | {{#if: | :}}EOLUpgrades/Edgy}}/zh-hant | • {{#if: UbuntuHelp:EOLUpgrades/Edgy|中文(繁體)| [[::EOLUpgrades/Edgy/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EOLUpgrades/Edgy|:EOLUpgrades/Edgy|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EOLUpgrades/Edgy/zh | | {{#ifexist: EOLUpgrades/Edgy/zh | | {{#ifeq: {{#titleparts:EOLUpgrades/Edgy|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EOLUpgrades/Edgy|1|-1|}} | zh | | }}
- title Upgrading Edgy to Feisty
6.10 to 7.04 (Edgy to Feisty)
Before you start
Please make sure you've read and understood the main EOLUpgrade page. I would recommend using clonezilla for backing up your current installation. It is very easy to backup and restore your partitions with clonezilla. It takes less then 30 minutes to backup/restore a 20Gb root filesystem which has 4-5 Gb used space.
Requirements
- /etc/apt/sources.list
Please make sure you have the following sources.list.
# Required deb http://old-releases.ubuntu.com/ubuntu/ edgy main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
You can make use of -backports, -proposed repositories if you want. For more information about repositories see Repositories/Ubuntu.
The upgrade
- Make sure your sources.list is correct (see requirements)
- Update the package list and get fully upgrade all packages
sudo aptitude update && sudo aptitude upgrade
NOTE: It could be that you just upgraded your kernel, if this is the case, please reboot!
- Upgrade your complete system
You need to run do-release-upgrade once, it will fail, but that doesn't matter. We will trigger the upgrade process from a different executable once we ran do-release-upgrade.
sudo do-release-upgrade
You will now see the following messages on your screen, directly after executing the command:
$ sudo do-release-upgrade Checking for a new ubuntu release Done Upgrade tool signature Done Upgrade tool Done downloading extracting '/tmp/tmpH9WhkH/feisty.tar.gz' authenticate '/tmp/tmpH9WhkH/feisty.tar.gz' against '/tmp/tmpH9WhkH/feisty.tar.gz.gpg'
And many more error messages, you can ignore them for now. Remember the directory as seen in the sniplet above (/tmp/tmpH9WhkH/). The upgrade process changes old-releases.ubuntu.com links to archive.ubuntu.com, because we upgrade to another EOL release the archive link will not work. To prevent this from happening we are going to fix the upgrade controler script.
- Patching DistUpgradeControler.py
I use vi as an editor, you can use your editor of choice, nano, gedit, etc.
vi $HOME/DistUpgradeControler.py.patch
Contents of the patch file:
--- DistUpgradeControler.py.ORIG 2009-01-29 18:51:43.000000000 +0100 +++ DistUpgradeControler.py 2009-01-29 18:52:44.000000000 +0100 @@ -352,11 +352,11 @@ # them back to archive.ubuntu.com - now this is a problem # of course for people upgrading from EOL release to a # EOL release - if (not entry.disabled and - entry.uri.startswith("http://old-releases.ubuntu.com/ubuntu")): - entry.uri = "http://archive.ubuntu.com/ubuntu" - logging.debug("transitioning old-releases.ubuntu.com to '%s' " % entry) - continue + #if (not entry.disabled and + # entry.uri.startswith("http://old-releases.ubuntu.com/ubuntu")): + # entry.uri = "http://archive.ubuntu.com/ubuntu" + # logging.debug("transitioning old-releases.ubuntu.com to '%s' " % entry) + # continue logging.debug("examining: '%s'" % entry) # check if it's a mirror (or offical site)
If you do not have patch installed, please install it `sudo aptitude install patch`, or make these changes manually. You will need root privileges to edit the file.
cd /tmp/tmpH9WhkH/ sudo patch < $HOME/DistUpgradeControler.py.patch
When you have applied the patch execute the following command:
cd /tmp/tmpH9WhkH/ sudo ./feisty --frontend DistUpgradeViewText --mode=server
- Check your new version
Reboot your machine and you can now run `lsb_release -a` to check the new version of Ubuntu. << < Dapper Feisty >>