代码改变世界

ubuntu 10.04的教育网源(亲自测试可用的,删除了不可用的源)

2011-05-13 00:15  会被淹死的鱼  阅读(1158)  评论(0编辑  收藏  举报

cp /etc/apt/sources.list  /etc/apt/sources.list.backup
sudo gedit  /etc/apt/sources.list
在sources.list最前面添加下列源

#中科大的源,教育网推荐
deb http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse

#北京交大的源,教育网
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe


#上海交大的源
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe

#再来一个163的。电信教育网通用
deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse

添加完成后,更新源

sudo apt-get update