Ubuntu 11.10更新源
1. 备份更新源:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.201110bk
2. 更新升级源:
sudo gedit /etc/apt/sources.lis
用下面的升级源(163)覆盖原文件sources.list的内容:
deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ oneiric-s universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ oneiric-s universe main multiverse restricted
然后执行下面命令:
sudo apt-get update
3. 安装更新:
sudo apt-get update && sudo apt-get upgrade