官方已不再支持 Ubuntu10.10 sources.list 的更新,所以原来的源都失效了,包括很多 163、sohu、诸多教育网之类也都不行。为了解决这个问题,ubuntu官方出了一个 old-release 的镜像(http://old-releases.ubuntu.com/),这个源可以支持更新。
替换更新源的步骤如下:
1.
sudo vi /etc/apt/sources.list
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick universe
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse
deb http://www.remastersys.com/ubuntu maverick main
sudo apt-get update