ubuntu12.04教育网更新源

现在是已经发布到ubuntu 12.04,不过我用的还是11.10,电子科大的源今天挂了,写个文章存个档

更新源方法
1.备份:$sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
2.编辑:$sudo gedit /etc/apt/sources.list
删除文件里的所有,然后复制其中以下一个更新源到文件中,保存!
3.更新:$sudo apt-get update
4.升级:$sudo apt-get upgrade

ubuntu版本—版本号
Ubuntu 10.04 Lucid Lynx—lucid
Ubuntu 10.10 Maverick Meerkat—maverick
Ubuntu 11.04 Natty Narwhal—natty
Ubuntu 11.10 Oneiric Ocelot—oneiric
Ubuntu 12.04 Precise Pangolin—precise

教育网更新源:
ubuntu源的格式为 “deb url 版本号 main restricted universe multiverse”
一般来讲,url是不变的,所以只要修改版本号,就可以得到最新的源了

中国科技大学

deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse

上海交通大学

deb http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ precise main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

厦门大学的:

deb ftp://ubuntu.realss.cn/ubuntu/ precise main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ precise-backports restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ precise-security main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ precise main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ precise-updates main restricted universe multiverse

成都市 电子科技大学更新服务器:

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

发表评论

电子邮件地址不会被公开。 必填项已用*标注