andlinux的ubuntu版本升级 -- 9.04到10.04

  andlinux现在的unbuntu版本是jaunty(9.04),该版本官方已经不支持了,所以apt-get源被移除了,只要升级到lucid(10.04)就可以了。按以下步骤:
   要先升级到karmic(9.10),然后才能升级到lucid(10.04)。(因为karmic 9.10也很快就不支持了,所以还是升级到lucid 10.04版本好)
    
   先升级到karmic(9.10):
   (1)修改/etc/apt/sources.list文件,全部替换如下:
   deb
http://mirrors.163.com/ubuntu/ karmic main universe restricted multiverse
   deb-src
http://mirrors.163.com/ubuntu/ karmic main universe restricted multiverse
   deb
http://mirrors.163.com/ubuntu/ karmic-security universe main multiverse restricted
   deb-src
http://mirrors.163.com/ubuntu/ karmic-security universe main multiverse restricted
   deb
http://mirrors.163.com/ubuntu/ karmic-updates universe main multiverse restricted
   deb
http://mirrors.163.com/ubuntu/ karmic-proposed universe main multiverse restricted
   deb-src
http://mirrors.163.com/ubuntu/ karmic-proposed universe main multiverse restricted
   deb
http://mirrors.163.com/ubuntu/ karmic-backports universe main multiverse restricted
   deb-src
http://mirrors.163.com/ubuntu/ karmic-backports universe main multiverse restricted
   deb-src
http://mirrors.163.com/ubuntu/ karmic-updates universe main multiverse restricted
   (2)在命令行执行sudo apt-get update
   (3)在命令行执行sudo upgrade
   (4)重启linux
    
   然后再升级到lucid(10.04),步骤如下:
   (1)修改/etc/apt/sources.list文件,全部替换如下:
   deb
http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
   deb-src
http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
   deb
http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
   deb-src
http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
   deb
http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
   deb
http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
   deb-src
http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
   deb
http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
   deb-src
http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
   deb-src
http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
   (2)在命令行执行sudo apt-get update
   (3)在命令行执行sudo upgrade
   (4)重启linux


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值