[转]Ubuntu Server命令行更换软件源

su
cd /etc/apt
wget http://mirrors.163.com/.help/sources.list.lucid
mv sources.list sources.list.backup
mv sources.list.lucid sources.list
apt-get update
apt-get dist-upgrade


Track: http://hi.baidu.com/quickreport/item/d8eca6e134ba5eb52e140b53

 

PS:http://mirrors.aliyun.com/

posted @ 2014-04-03 13:04  Clotho_Lee  阅读(8456)  评论(0编辑  收藏  举报