首页 > 代码库 > Ubuntu13.10更新源
Ubuntu13.10更新源
1.备份源文件;
root@localhost:~# cd /etc/apt/ root@localhost:/etc/apt# ls apt.conf.d sources.list sources.list.20140731bk trustdb.gpg trusted.gpg.d preferences.d sources.list~ sources.list.d trusted.gpg root@localhost:/etc/apt# mv sources.listsources.list.20140731bk
2.创建并编辑源文件;
root@localhost:/etc/apt# vim sources.list 在文件内插入以下内容: deb http://mirrors.163.com/ubuntu/ saucymain restricted universe multiverse deb http://mirrors.163.com/ubuntu/saucy-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/saucy-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/saucy-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/saucy-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/saucy main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/saucy-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/saucy-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/saucy-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/saucy-backports main restricted universe multiverse
#以上为163源,如需要更多源地址请转到http://chenrongya.blog.163.com/blog/static/87474196201392593446898/
3.更新源文件;
root@localhost:/etc/apt# apt-get update
本文出自 “jerry在路上” 博客,请务必保留此出处http://jerry0117.blog.51cto.com/1664014/1533383
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。