个人工具

“UbuntuHelp:EOLUpgrades/Breezy”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(创建新页面为 '{{From|https://help.ubuntu.com/community/EOLUpgrades/Breezy}} {{Languages|UbuntuHelp:EOLUpgrades/Breezy}} #title Upgrading Breezy to Dapper << [[Ubun...')
 
 
第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.
=== Requirements ===
+
=== The upgrade ===
* /etc/apt/sources.list
+
* Make sure your sources.list is correct
Please make sure you have the following sources.list.
+
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/ breezy-backports main restricted universe multiverse
 
#deb http://old-releases.ubuntu.com/ubuntu/ breezy-backports main restricted universe multiverse
 +
#deb http://old-releases.ubuntu.com/ubuntu/ breezy-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]].
=== The upgrade ===
+
* Update the package list and upgrade all installed packages
* Make sure your sources.list is correct (see requirements)
+
* Update the package list and get fully upgrade all packages
+
 
<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:
第34行: 第37行:
 
NOTE: It could be that you just upgraded your kernel, if this is the case, please reboot!
 
NOTE: It could be that you just upgraded your kernel, if this is the case, please reboot!
 
* Change your repositories
 
* Change your repositories
Please make sure you have the following sources.list.
+
Please make sure you have the following sources.list:
 
<pre><nowiki>
 
<pre><nowiki>
 
# Required
 
# Required
第43行: 第46行:
 
# Optional
 
# Optional
 
#deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
 
#deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
 +
#deb http://archive.ubuntu.com/ubuntu/ dapper-proposed main restricted universe multiverse
 
</nowiki></pre>
 
</nowiki></pre>
 
* Update the package list and perform a dist-upgrade
 
* Update the package list and perform a dist-upgrade
第48行: 第52行:
 
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>
第53行: 第59行:
 
</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.
* Check your new version
 
Reboot your machine and you can now run `lsb_release -a` to check the new version of Ubuntu.
 
 
[[UbuntuHelp:EOLUpgrades| <<]] [[UbuntuHelp:EOLUpgrades/Hoary| < Hoary]]
 
[[UbuntuHelp:EOLUpgrades| <<]] [[UbuntuHelp:EOLUpgrades/Hoary| < Hoary]]
 
[[UbuntuHelp:EOLUpgrades/Dapper| Dapper >>]]
 
[[UbuntuHelp:EOLUpgrades/Dapper| Dapper >>]]

2010年5月19日 (三) 22:16的最新版本

  1. title Upgrading Breezy to Dapper

<< < Hoary Dapper >>

5.10 to 6.06 (Breezy to Dapper)

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/ breezy main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ breezy-security main restricted universe multiverse

# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ breezy-backports main restricted universe multiverse
#deb http://old-releases.ubuntu.com/ubuntu/ breezy-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

Please make sure you have the following sources.list:

# Required
deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse

# Optional
#deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu/ dapper-proposed main restricted universe multiverse
  • 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. << < Hoary Dapper >>