ubuntu更新源

 

源一定要找对应的版本

 

14.04对应 trusty

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

 

Ubuntu 14.04用户修改源和替换源的方法

后面几个参数的意义如图

 

14.10 对应 utopic 

 

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

修改命令

vi /etc/apt/sources.list

然后替换即可,记住要先备份

posted @ 2015-02-04 10:56  carlo-z  阅读(300)  评论(0编辑  收藏  举报