特殊:Badtitle/NS100:EOLUpgrades/Feisty
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EOLUpgrades/Feisty }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/af | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Afrikaans| [[::EOLUpgrades/Feisty/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/ar | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|العربية| [[::EOLUpgrades/Feisty/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/az | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|azərbaycanca| [[::EOLUpgrades/Feisty/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/bcc | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|جهلسری بلوچی| [[::EOLUpgrades/Feisty/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/bg | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|български| [[::EOLUpgrades/Feisty/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/br | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|brezhoneg| [[::EOLUpgrades/Feisty/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/ca | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|català| [[::EOLUpgrades/Feisty/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/cs | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|čeština| [[::EOLUpgrades/Feisty/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/de | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Deutsch| [[::EOLUpgrades/Feisty/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/el | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Ελληνικά| [[::EOLUpgrades/Feisty/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/es | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|español| [[::EOLUpgrades/Feisty/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/fa | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|فارسی| [[::EOLUpgrades/Feisty/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/fi | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|suomi| [[::EOLUpgrades/Feisty/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/fr | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|français| [[::EOLUpgrades/Feisty/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/gu | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|ગુજરાતી| [[::EOLUpgrades/Feisty/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/he | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|עברית| [[::EOLUpgrades/Feisty/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/hu | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|magyar| [[::EOLUpgrades/Feisty/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/id | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Bahasa Indonesia| [[::EOLUpgrades/Feisty/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/it | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|italiano| [[::EOLUpgrades/Feisty/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/ja | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|日本語| [[::EOLUpgrades/Feisty/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/ko | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|한국어| [[::EOLUpgrades/Feisty/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/ksh | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Ripoarisch| [[::EOLUpgrades/Feisty/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/mr | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|मराठी| [[::EOLUpgrades/Feisty/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/ms | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Bahasa Melayu| [[::EOLUpgrades/Feisty/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/nl | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Nederlands| [[::EOLUpgrades/Feisty/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/no | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|norsk| [[::EOLUpgrades/Feisty/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/oc | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|occitan| [[::EOLUpgrades/Feisty/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/pl | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|polski| [[::EOLUpgrades/Feisty/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/pt | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|português| [[::EOLUpgrades/Feisty/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/ro | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|română| [[::EOLUpgrades/Feisty/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/ru | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|русский| [[::EOLUpgrades/Feisty/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/si | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|සිංහල| [[::EOLUpgrades/Feisty/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/sq | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|shqip| [[::EOLUpgrades/Feisty/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/sr | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|српски / srpski| [[::EOLUpgrades/Feisty/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/sv | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|svenska| [[::EOLUpgrades/Feisty/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/th | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|ไทย| [[::EOLUpgrades/Feisty/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/tr | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Türkçe| [[::EOLUpgrades/Feisty/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/vi | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|Tiếng Việt| [[::EOLUpgrades/Feisty/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/yue | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|粵語| [[::EOLUpgrades/Feisty/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/zh | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|中文| [[::EOLUpgrades/Feisty/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/zh-hans | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|中文(简体)| [[::EOLUpgrades/Feisty/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Feisty | UbuntuHelp:EOLUpgrades/Feisty | {{#if: | :}}EOLUpgrades/Feisty}}/zh-hant | • {{#if: UbuntuHelp:EOLUpgrades/Feisty|中文(繁體)| [[::EOLUpgrades/Feisty/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EOLUpgrades/Feisty|:EOLUpgrades/Feisty|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EOLUpgrades/Feisty/zh | | {{#ifexist: EOLUpgrades/Feisty/zh | | {{#ifeq: {{#titleparts:EOLUpgrades/Feisty|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EOLUpgrades/Feisty|1|-1|}} | zh | | }}
- title Upgrading Feisty to Gutsy
7.04 to 7.10 (Feisty to Gutsy)
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/ feisty main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ feisty-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
sudo do-release-upgrade
This command will fail, because it cannot download a specific tarball which is needed to the upgrade, this is due to an error in the meta-release file. it will however leave a subdirectory in /tmp, owned by root.
$ sudo do-release-upgrade Password: Checking for a new ubuntu release Failed Upgrade tool signature Failed Upgrade tool Done downloading extracting '/tmp/tmpaIgInN/gutsy.tar.gz' Traceback (most recent call last): File "/usr/bin/do-release-upgrade", line 45, in <module> fetcher.run() File "/usr/lib/python2.5/site-packages/UpdateManager/Core/DistUpgradeFetcherCore.py", line 160, in run if not self.extractDistUpgrader(): File "/usr/lib/python2.5/site-packages/UpdateManager/Core/DistUpgradeFetcherCore.py", line 98, in extractDistUpgrader tar = tarfile.open(self.tmpdir+"/"+os.path.basename(self.uri),"r") File "/usr/lib/python2.5/tarfile.py", line 1139, in open return func(name, "r", fileobj) File "/usr/lib/python2.5/tarfile.py", line 1200, in gzopen fileobj = file(name, mode + "b") IOError: [Errno 2] No such file or directory: '/tmp/tmpaIgInN/gutsy.tar.gz'
- Download the tarball manually
First we will make sure we can create and write into the /tmp directory do-release upgrade created. Then we download the gutsy tarball and extract the contents.
sudo chown $USER /tmp/tmpaIgInN cd /tmp/tmpaIgInN wget http://old-releases.ubuntu.com/ubuntu/dists/gutsy/main/dist-upgrader-all/current/gutsy.tar.gz tar zxvf gutsy.tar.gz
- Make sure we can continue upgrading, since two packages are needed we need to change the prerequisites sources as well:
perl -p -i.704 -e 's/(http:\/\/).*archive(.ubuntu.com)/${1}old-releases$2/' prerequists-sources.list
Problems with installing specific packages:: Some users have reported that they still have to download packages from archives.ubuntu.com while everything resides on old-releases. If you have this problem, you could change your /etc/host file to point archive.ubuntu.com to old-releases. Do this by running `host old-releases.ubuntu.com | grep address | awk '{print $NF"\tarchive.ubuntu.com"}' | sudo tee -a /etc/hosts`. After the upgrade you need to remove this line again from the hosts file, by doing `sudo sed -i '$d' /etc/hosts`
- Change your sources.list
sudo perl -p -i.704 -e 's/feisty/gutsy/g' /etc/apt/sources.list
- Continue the upgrade process
sudo ./gutsy --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. << < Edgy Gutsy >>