概述
在终端执行以下命令(第一条是备份现有服务器列表,第二条是使用Gedit编辑,您也可以使用自己喜爱的编辑器编辑。)
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
从以下各服务器列表内容中选择一段替换文件中的所有内容(请根据自己网络环境设置更新服务器,以达到最快的速度。)
#传说中的中国科技大学 5M/s
deb http://debian.ustc.edu.cn/ubuntu/ feisty main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ feisty-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ feisty-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-updates main restricted universe multiverse
#传说中的北京交大 速度 2M/s
deb http://mirror.bjtu.edu.cn/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ feisty-security main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ feisty-backports main restricted universe multiverse
#传说中的上海交通大学,听说现在硬盘挂了,500k/s 曾经最热门的源之一
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
#真正可以上的清华大学ubuntu源 300k/s
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty-security main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty-updates main restricted universe multiverse
#这个清华源现在我也可以用 了
deb http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu-cn/ feisty main multiverse restricted universe
#传说中的兰州大学 260k/s
deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe
#传说中的台湾大学 中国电信adsl 150k/s
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
以下为 ubuntu edgy 6.10
#传说中的中国科技大学 速度: 5M/s
deb ftp://debian.ustc.edu.cn/ubuntu edgy main restricted universe multiverse
deb ftp://debian.ustc.edu.cn/ubuntu edgy-security main restricted universe multiverse
deb ftp://debian.ustc.edu.cn/ubuntu edgy-updates main restricted universe multiverse
deb ftp://debian.ustc.edu.cn/ubuntu edgy-backports main restricted universe multiverse
deb ftp://debian.ustc.edu.cn/ubuntu edgy-proposed main restricted universe multiverse
#传说中的北京交大 速度 2M/s
deb http://mirror.bjtu.edu.cn/ubuntu/ edgy main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ edgy-updates main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ edgy-security main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ edgy-backports main restricted universe multiverse
#这个清华源我从来没用成过,楼下有朋友帖上来了,可能对别人也有用,网上流传甚广
deb http://mirror9.net9.org/ubuntu/ edgy main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ edgy-backports main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ edgy-proposed main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ edgy-security main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ edgy-updates main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ edgy main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ edgy-backports main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ edgy-proposed main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ edgy-security main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ edgy-updates main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu-cn/ edgy main multiverse restricted universe
#真正可以上的清华大学ubuntu源
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ edgy main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ edgy-security main restricted universe multiverse
deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ edgy-updates main restricted universe multiverse
#传说中的上海交通大学,听说现在硬盘挂了,曾经最热门的源之一
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ edgy main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe
##传说中的兰州大学
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe
原文章地址:http://blog.csdn.net/paranoid_luo/archive/2007/12/09/1926161.aspx
#传说中的台湾大学 中国电信adsl 150k/s
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ edgy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ edgy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ edgy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ edgy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ edgy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ edgy-security main restricted universe multiverse
到 以下网址可以自定义产生若干源:http://www.ubuntulinux.nl/source-o-matic 以下网址有极其全面的源,以供补充:http://italy.copybase.ch/blog/lista-repository- sourceslist-ottimizzata-per-ubuntu-kubuntu-linux/
保存编辑好的文件,执行以下命令更新。
sudo apt-get update
sudo apt-get dist-upgrade
[quote]
chenjihua补充:
如果用的是电信的网,可以使用
http://ubuntu.cn99.com/ubuntu 下的源,用浏览器打开这个地址,可以看到dist文件夹,里面有很多子文件夹,根据你的ubuntu的版本设置吧。
[/quote]
最后
以上就是斯文高跟鞋为你收集整理的ubuntu教育网更新源的全部内容,希望文章能够帮你解决ubuntu教育网更新源所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复