ubuntu source list update

1.backup old source list
sudo cp /etc/apt/source.list /etc/apt/sourc.list_bk
 
2.modify source list
sudo gedit /etc/apt/source.list
choose a fast server according to your location
  1. deb http://centos.bitcomm.cn/ubuntu natty main restricted universe multiverse 
  2. deb http://centos.bitcomm.cn/ubuntu natty-security main restricted universe multiverse 
  3. deb http://centos.bitcomm.cn/ubuntu natty-updates main restricted universe multiverse 
  4. deb http://centos.bitcomm.cn/ubuntu natty-backports main restricted universe multiverse 
  5. deb http://centos.bitcomm.cn/ubuntu natty-proposed main restricted universe multiverse 
  6. deb-src http://centos.bitcomm.cn/ubuntu natty main restricted universe multiverse 
  7. deb-src http://centos.bitcomm.cn/ubuntu natty-security main restricted universe multiverse 
  8. deb-src http://centos.bitcomm.cn/ubuntu natty-updates main restricted universe multiverse 
  9. deb-src http://centos.bitcomm.cn/ubuntu natty-backports main restricted universe multiverse 
  10. deb-src http://centos.bitcomm.cn/ubuntu natty-proposed main restricted universe multiverse
 
3.update new source list
sudo apt-get update
 
come from http://blog.chinaunix.net/uid-452173-id-3253206.html
posted @ 2013-06-14 08:59  华仔崽  阅读(1038)  评论(0编辑  收藏  举报
友情链接 JeffreyZhao  zhangziqiu 短信猫 MVC学习 .net面试问答(大汇总) python