andLinux升级
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 apt-get 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 apt-get upgrade
(4)重启linux