特殊:Badtitle/NS100:EOLUpgrades/Hoary:修订间差异
小 创建新页面为 '{{From|https://help.ubuntu.com/community/EOLUpgrades/Hoary}} {{Languages|UbuntuHelp:EOLUpgrades/Hoary}} #title Upgrading Hoary to Breezy << [[UbuntuH...' |
小无编辑摘要 |
||
第8行: | 第8行: | ||
Please make sure you've read and understood the [[UbuntuHelp:EOLUpgrades| main EOLUpgrade page]]. | Please make sure you've read and understood the [[UbuntuHelp:EOLUpgrades| main EOLUpgrade page]]. | ||
I would recommend using [http://www.clonezilla.org 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. | I would recommend using [http://www.clonezilla.org 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. | ||
=== | === The upgrade === | ||
* | * Make sure your sources.list is correct | ||
For the upgrade you only need this list, comment your original sources or remove them. | |||
<pre><nowiki> | <pre><nowiki> | ||
# Required | # Required | ||
第19行: | 第19行: | ||
# Optional | # Optional | ||
#deb http://old-releases.ubuntu.com/ubuntu/ hoary-backports main restricted universe multiverse | #deb http://old-releases.ubuntu.com/ubuntu/ hoary-backports main restricted universe multiverse | ||
#deb http://old-releases.ubuntu.com/ubuntu/ hoary-proposed main restricted universe multiverse | |||
</nowiki></pre> | </nowiki></pre> | ||
You can make use of -backports, -proposed repositories if you want. | You can make use of -backports, -proposed repositories if you want. | ||
For more information about repositories see [[UbuntuHelp:Repositories/Ubuntu|Repositories/Ubuntu]]. | For more information about repositories see [[UbuntuHelp:Repositories/Ubuntu|Repositories/Ubuntu]]. | ||
* Update the package list and upgrade all installed packages | |||
* Update the package list and | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo aptitude update && sudo aptitude upgrade | sudo aptitude update && sudo aptitude upgrade | ||
</nowiki></pre> | |||
If packages were held back you may want to run: | |||
<pre><nowiki> | |||
sudo aptitude dist-upgrade | |||
</nowiki></pre> | </nowiki></pre> | ||
* If you run a -desktop version of ubuntu, please reinstall this package: | * If you run a -desktop version of ubuntu, please reinstall this package: | ||
第41行: | 第44行: | ||
sudo aptitude update && sudo aptitude dist-upgrade | sudo aptitude update && sudo aptitude dist-upgrade | ||
</nowiki></pre> | </nowiki></pre> | ||
* Check your new version | |||
Reboot your machine and you can now run `lsb_release -a` to check the new version of Ubuntu. | |||
* Remove obsolete packages | * Remove obsolete packages | ||
<pre><nowiki> | <pre><nowiki> | ||
第46行: | 第51行: | ||
</nowiki></pre> | </nowiki></pre> | ||
Now you will enter aptitude in interactive mode, select Obsolete and locally installed packages menu and press '_', then press 'g'. It could be that you will get messages that aptitude wants to remove your current kernel, do NOT remove it, leave it, we can remove it later on. | Now you will enter aptitude in interactive mode, select Obsolete and locally installed packages menu and press '_', then press 'g'. It could be that you will get messages that aptitude wants to remove your current kernel, do NOT remove it, leave it, we can remove it later on. | ||
[[UbuntuHelp:EOLUpgrades| <<]] [[UbuntuHelp:EOLUpgrades/Warty| < Warty]] | [[UbuntuHelp:EOLUpgrades| <<]] [[UbuntuHelp:EOLUpgrades/Warty| < Warty]] | ||
[[UbuntuHelp:EOLUpgrades/Breezy| Breezy >>]] | [[UbuntuHelp:EOLUpgrades/Breezy| Breezy >>]] |
2010年5月19日 (三) 22:16的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EOLUpgrades/Hoary }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/af | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Afrikaans| [[::EOLUpgrades/Hoary/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/ar | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|العربية| [[::EOLUpgrades/Hoary/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/az | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|azərbaycanca| [[::EOLUpgrades/Hoary/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/bcc | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|جهلسری بلوچی| [[::EOLUpgrades/Hoary/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/bg | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|български| [[::EOLUpgrades/Hoary/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/br | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|brezhoneg| [[::EOLUpgrades/Hoary/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/ca | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|català| [[::EOLUpgrades/Hoary/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/cs | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|čeština| [[::EOLUpgrades/Hoary/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/de | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Deutsch| [[::EOLUpgrades/Hoary/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/el | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Ελληνικά| [[::EOLUpgrades/Hoary/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/es | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|español| [[::EOLUpgrades/Hoary/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/fa | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|فارسی| [[::EOLUpgrades/Hoary/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/fi | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|suomi| [[::EOLUpgrades/Hoary/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/fr | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|français| [[::EOLUpgrades/Hoary/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/gu | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|ગુજરાતી| [[::EOLUpgrades/Hoary/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/he | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|עברית| [[::EOLUpgrades/Hoary/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/hu | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|magyar| [[::EOLUpgrades/Hoary/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/id | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Bahasa Indonesia| [[::EOLUpgrades/Hoary/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/it | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|italiano| [[::EOLUpgrades/Hoary/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/ja | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|日本語| [[::EOLUpgrades/Hoary/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/ko | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|한국어| [[::EOLUpgrades/Hoary/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/ksh | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Ripoarisch| [[::EOLUpgrades/Hoary/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/mr | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|मराठी| [[::EOLUpgrades/Hoary/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/ms | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Bahasa Melayu| [[::EOLUpgrades/Hoary/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/nl | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Nederlands| [[::EOLUpgrades/Hoary/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/no | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|norsk| [[::EOLUpgrades/Hoary/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/oc | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|occitan| [[::EOLUpgrades/Hoary/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/pl | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|polski| [[::EOLUpgrades/Hoary/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/pt | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|português| [[::EOLUpgrades/Hoary/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/ro | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|română| [[::EOLUpgrades/Hoary/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/ru | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|русский| [[::EOLUpgrades/Hoary/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/si | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|සිංහල| [[::EOLUpgrades/Hoary/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/sq | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|shqip| [[::EOLUpgrades/Hoary/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/sr | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|српски / srpski| [[::EOLUpgrades/Hoary/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/sv | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|svenska| [[::EOLUpgrades/Hoary/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/th | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|ไทย| [[::EOLUpgrades/Hoary/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/tr | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Türkçe| [[::EOLUpgrades/Hoary/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/vi | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|Tiếng Việt| [[::EOLUpgrades/Hoary/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/yue | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|粵語| [[::EOLUpgrades/Hoary/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/zh | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|中文| [[::EOLUpgrades/Hoary/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/zh-hans | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|中文(简体)| [[::EOLUpgrades/Hoary/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EOLUpgrades/Hoary | UbuntuHelp:EOLUpgrades/Hoary | {{#if: | :}}EOLUpgrades/Hoary}}/zh-hant | • {{#if: UbuntuHelp:EOLUpgrades/Hoary|中文(繁體)| [[::EOLUpgrades/Hoary/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EOLUpgrades/Hoary|:EOLUpgrades/Hoary|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EOLUpgrades/Hoary/zh | | {{#ifexist: EOLUpgrades/Hoary/zh | | {{#ifeq: {{#titleparts:EOLUpgrades/Hoary|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EOLUpgrades/Hoary|1|-1|}} | zh | | }}
- title Upgrading Hoary to Breezy
5.04 to 5.10 (Hoary to Breezy)
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.
The upgrade
- Make sure your sources.list is correct
For the upgrade you only need this list, comment your original sources or remove them.
# Required deb http://old-releases.ubuntu.com/ubuntu/ hoary main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ hoary-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ hoary-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ hoary-backports main restricted universe multiverse #deb http://old-releases.ubuntu.com/ubuntu/ hoary-proposed main restricted universe multiverse
You can make use of -backports, -proposed repositories if you want. For more information about repositories see Repositories/Ubuntu.
- Update the package list and upgrade all installed packages
sudo aptitude update && sudo aptitude upgrade
If packages were held back you may want to run:
sudo aptitude dist-upgrade
- If you run a -desktop version of ubuntu, please reinstall this package:
sudo aptitude reinstall ubuntu-desktop # or kubuntu, xubuntu, edubuntu, etc
NOTE: It could be that you just upgraded your kernel, if this is the case, please reboot!
- Change your repositories
$ sudo perl -p -i.504 -e 's/hoary/breezy/g' /etc/apt/sources.list
- Update the package list and perform a dist-upgrade
sudo aptitude update && sudo aptitude dist-upgrade
- Check your new version
Reboot your machine and you can now run `lsb_release -a` to check the new version of Ubuntu.
- Remove obsolete packages
sudo aptitude
Now you will enter aptitude in interactive mode, select Obsolete and locally installed packages menu and press '_', then press 'g'. It could be that you will get messages that aptitude wants to remove your current kernel, do NOT remove it, leave it, we can remove it later on. << < Warty Breezy >>