添加ubuntu升级库

前端之家收集整理的这篇文章主要介绍了添加ubuntu升级库前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

http://www.cnblogs.com/littlemonsters/p/5783690.html

http://blog.csdn.net/xie1xiao1jun/article/details/49911189

===================================


ubuntu10.10的源列表

deb http://old-releases.ubuntu.com/ubuntu maverick main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu maverick main universe restricted multiverse
deb http://old-releases.ubuntu.com/ubuntu maverick-security universe main multiverse restricted
deb-src http://old-releases.ubuntu.com/ubuntu maverick-security universe main multiverse restricted
deb http://old-releases.ubuntu.com/ubuntu maverick-updates universe main multiverse restricted
deb http://old-releases.ubuntu.com/ubuntu maverick-proposed universe main multiverse restricted
deb-src http://old-releases.ubuntu.com/ubuntu maverick-proposed universe main multiverse restricted
deb http://old-releases.ubuntu.com/ubuntu maverick-backports universe main multiverse restricted
deb-src http://old-releases.ubuntu.com/ubuntu maverick-backports universe main multiverse restricted
deb-src http://old-releases.ubuntu.com/ubuntu maverick-updates universe main multiverse restricted



===================================

sudo cp /etc/apt/sources .list /etc/apt/sources .list.bak #备份
sudo vim /etc/apt/sources .list #修改
sudo apt-get update #更新列表

阿里云源

添加在最上面

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

猜你在找的Ubuntu相关文章