几个比较常用和速度不错的ubuntu更新源

转贴自: http://datalinks.blog.sohu.com/80279400.html

默认的中国源速度非常不错,为了保证源内软件的齐全,建议电信用户添加cn99或台湾大学的源,建议网通用户添加UBNTU官方或台湾大学的源。 
• 
在终端输入并运行 
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份当前的源列表,以便日后需要时恢复) 
sudo gedit /etc/apt/sources.list (修改sources.list文件中源的列表) 
弹出文本后在sources.list文件中尾部添加下列内容: 

ubuntu8.10的163源为:

deb http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse

 

CN99

deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb http:
//ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http:
//ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http:
//ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http:
//ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb
-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb
-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb
-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb
-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb
-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse

 


ubuntu 8.04的163源为:

deb http://mirrors.163.com/ubuntu/ hardy main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ hardy-backports main restricted universe multiverse

#Mirror.lupaworld.com 源更新服务器(浙江省杭州市双线服务器,网通同电信都可以用,亚洲地区官方更新服务器): 
deb http://mirror.lupaworld.com/ubuntu gutsy main restricted universe multiverse 
deb http://mirror.lupaworld.com/ubuntu gutsy-security main restricted universe multiverse 
deb http://mirror.lupaworld.com/ubuntu gutsy-updates main restricted universe multiverse 
deb http://mirror.lupaworld.com/ubuntu gutsy-backports main restricted universe multiverse 
deb-src http://mirror.lupaworld.com/ubuntu gutsy main restricted universe multiverse 
deb-src http://mirror.lupaworld.com/ubuntu gutsy-security main restricted universe multiverse 
deb-src http://mirror.lupaworld.com/ubuntu gutsy-updates main restricted universe multiverse 
deb-src http://mirror.lupaworld.com/ubuntu gutsy-backports main restricted universe multiverse 

Ubuntu 官方源 推荐北方网通用户添加 
deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse 
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse 

台湾的官方源速度也相当不错,有时甚至快于内地的: 
deb http://tw.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse 
deb http://tw.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse 
deb http://tw.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse 
deb http://tw.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse 
deb http://tw.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse 
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse 
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse 
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse 
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse 
deb-src http://tw.archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse 


再加个中国电信源科技大学的源(能用速度还不 错)

deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse

 

 

防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加下面这个官方源。 

deb http://archive.ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse 

如果没有这个源,下面安装某些软件的时候会提示找不到,比如w32codecs 
然后 保存编辑好的文件,执行以下命令更新。 
sudo apt-get update #这一步是更新你的源列表,换源后必须执行 
(如果更新速度非常慢请更换源 sudo gedit /etc/apt/sources.list ) 
sudo apt-get dist-upgrade #这一步是更新软件 

台湾源的测试可能会慢一些,耐心等一下,换源后一般下载速度都有几十K,上百K也很正常。~要是总是用几K的外源,Ubuntu也不可能在PRC混了 ~

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章