Ubuntu配置安装源

1,常用cn99的更新源
deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse

2, 修改命令
sudo gedit /etc/apt/sources.list
复制上面地址覆盖原来的内容,保存!!!!!

3,保存编辑好的文件,执行以下命令更新。
sudo apt-get update
sudo apt-get dist-upgrade

你可能感兴趣的:(ubuntu)