成功 升级 ubuntu 6.06 到 ubuntu 6.10 (Edgy Eft) 日记

参与到Ubuntu的翻译中来
回复
兰晓成
帖子: 28
注册时间: 2007-05-09 19:59
送出感谢: 0
接收感谢: 0
联系:

成功 升级 ubuntu 6.06 到 ubuntu 6.10 (Edgy Eft) 日记

#1

帖子 兰晓成 » 2007-05-12 10:40

ubuntu 6.06 ("Dapper Drake"). 升级到 ubuntu 6.10 (Edgy Eft)
方法 如下
1.终端下执行如下命令
sudo gedit /etc/apt/sources.list
打开源文件
2.删除原有的源,将下列源添加到里面
# Archive.ubuntu.com 更新服务器(欧洲,此为官方源)
deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse

之后保存并退出

3.执行命令
sudo apt-get update
更新软件名列表
4.运行命令
gksu "update-manager -c"

The -c (or equivalently --check-dist-upgrades) switch instructs Update Manager to look for upgrades. By default, the Ubuntu 6.06 LTS release will not offer that automatically because of its long support cycle and high stability.

If you have a working network connection, it should then inform you about a new release and offer to upgrade your system.


5. 等待更新完成
注意此过程中途不能停止,只能一次性完成

6.升级完成之后
再次运行
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
以进行未完成的更新

7. sudo apt-get update 此命令多运行几次以便确实得到更新
如果安装后有错误
运行 sudo apt-get -f install 命令修复

8. 确定全部升级完成后运行以下命令
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.


此时完成更新 重起系统使升级生效


之后运行命令
cat /etc/issue
查看版本
回复

回到 “软件和文档翻译”