Ubuntu 更改源

1.保证顺利连接互联网

2.打开终端.单击主菜单中的“应用程序-附件-终端”.

3.修改更新服务器列表.请在终端中执行下面的两条命令:

sudo cp/etc/apt/sources.list /etc/apt/sources.list_backup(备份源列表)

sudo gedit/etc/apt/sources.list(会打开文本编辑器,等待几秒会出现)

4.在打开的文本编辑器中,把看到的内容全部删掉,这一点很重要,很多网上文章没有写的很清楚(对于新手来说),至少当时我没有理解,在ubuntu论坛的wiki中有详细讲解.

5.选择合适的源,然后复制粘帖进去,保存.

6.更新软件包列表:sudo apt-get update

7.打开“系统->系统管理->更新管理器”,安装更新.完成后若系统提示重新启动,就重新启动系统.

中国台湾 台湾大学更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。强烈推荐此源,比较完整,较少出现同步问题):

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ hardy-proposed main restricted universe multiverse

你可能感兴趣的:(ubuntu,更改源)