Ubuntu11.10 更新源source.list

转自: http://extjs2.iteye.com/blog/1266612

1、首先备份Ubuntu 11.10源列表 
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份下当前的源列表,有备无患嘛) 
2、修改更新源 
sudo gedit /etc/apt/sources.list (打开Ubuntu 11.10源列表文件) 
3、将下面的代码粘贴进去(“#”开头的那一行为注释,可以直接复制进文件中)

4、通知ubuntu启用新的更新源   sudo apt-get update

#台湾源 

deb http://tw.archive.ubuntu.com/ubuntu/ oneiric  main universe restricted multiverse  
deb-src http://tw.archive.ubuntu.com/ubuntu/ oneiric  main universe restricted multiverse  
deb http://tw.archive.ubuntu.com/ubuntu/ oneiric-security universe main multiverse restricted  
deb-src http://tw.archive.ubuntu.com/ubuntu/ oneiric-security universe main multiverse restricted  
deb http://tw.archive.ubuntu.com/ubuntu/ oneiric-updates universe main multiverse restricted  
deb-src http://tw.archive.ubuntu.com/ubuntu/ oneiric-updates universe main multiverse restricted

#网易 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


#骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin 
deb http://ubuntu.srt.cn/ubuntu/ oneiric main universe restricted multiverse 
deb-src http://ubuntu.srt.cn/ubuntu/ oneiric main universe restricted multiverse 
deb http://ubuntu.srt.cn/ubuntu/ oneiric-security universe main multiverse restricted 
deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-security universe main multiverse restricted 
deb http://ubuntu.srt.cn/ubuntu/ oneiric-updates universe main multiverse restricted 
deb http://ubuntu.srt.cn/ubuntu/ oneiric-proposed universe main multiverse restricted 
deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-proposed universe main multiverse restricted 
deb http://ubuntu.srt.cn/ubuntu/ oneiric-backports universe main multiverse restricted 
deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-backports universe main multiverse restricted 
deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-updates universe main multiverse restricted

#mirror.lupaworld.com的源,速度很快

deb http://mirror.lupaworld.com/ubuntu/archive/ oneiric main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ oneiric-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ oneiric-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ oneiric-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ oneiric main restricted universe multiverse

#这里你也可以直接使用更快速的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

 

你可能感兴趣的:(linux,ubuntu,update,source,apt-get)