VPS ubuntu 11.04 apt-get update出错的问题

最近买了个ubuntu 11.04的vps,apt-get出问题。

替换了/etc/apt/source.list的源还是不行。 (我替换成国内的镜像了,VPS在国外,其实即使成功了,也是国外的最快)

后来才知道,11.04 natty ubuntu的官方源已经停止支持了。要用old-releases

所以,把原有的源都替换成了:

deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse 
deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse 
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse 
deb http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse 
deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse 
deb-src http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse 
deb-src http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse 
deb-src http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse 
deb-src http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse 
deb-src http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse 

可以用了。

悲惨,以后还是要最新的版本才好。

你可能感兴趣的:(ubuntu)