ubuntu 11.10 更新源source.list


目前,很多高校和公司都做了镜像供Ubuntu爱好者或研究人员使用,如网易和电子科大都有自己的镜像服务,网址分别为:电子科大(http://ubuntu.uestc.edu.cn/ ),网易( http://ubuntu.cn99.com/.help/ubuntu.html
1)首先备份一下源列表,sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup 
2)修改更新源,sudo vi  /etc/apt/sources.list  添加源:
#电子科技大学 (教育网)
deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric main restricted universe multiverse 
deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse 
deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse 
deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse 
deb http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse 
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric main restricted universe multiverse 
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse 
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse 
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse 
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse
#中国科技大学 
deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric main restricted universe multiverse 
deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric-backports restricted universe multiverse 
deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse 
deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse 
deb http://mirrors.ustc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse 
deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric main restricted universe multiverse 
deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse 
deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse 
deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse 
deb-src http://mirrors.ustc.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse
#网易 Ubuntu 11.10 源(速度很快) 
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-updates 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-updates universe main multiverse restricted
#这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):
deb http://ubuntu.cn99.com/ubuntu/ oneiric main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ oneiric main restricted universe multiverse
3) 通知ubuntu启用新的更新源   sudo apt-get update

你可能感兴趣的:(ubuntu)