1:备份源列表文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
2:打开sources.list
sudo gedit sources.list
3:选择合适的源,替换文件中所有的内容,保存文件
相关阅读:
Ubuntu 11.10 Oneiric Ocelot 更新源 http://www.linuxidc.com/Linux/2011-10/44243.htm
Ubuntu 11.04更新源列表及正式版下载 http://www.linuxidc.com/Linux/2011-04/35234.htm
Ubuntu 10.10更新源 http://www.linuxidc.com/Linux/2010-12/30938.htm
电子科技大学源:
- deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid main multiverse restricted universe
- deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
- deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
- deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
- deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid main multiverse restricted universe
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
- deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
我用的Linux版本:Ubuntu 10.04 (Lucid(10.04) 版本)
4:刷新列表
sudo apt-get update
5:安装Vim
sudo apt-get install vim