在终端执行以下命令(第一条是备份现有服务器列表,第二条是使用Gedit编辑)
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
从下面各服务器列表内容中选择一段替换文件中的所有内容
保存编辑好的文件,执行以下命令更新。
sudo apt-get update
sudo apt-get dist-upgrade
以下是ubuntu 9.10 教育网的源:
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic main restricted universe multiverse
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-security main restricted universe multiverse
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-updates main restricted universe multiverse
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
从下面各服务器列表内容中选择一段替换文件中的所有内容
保存编辑好的文件,执行以下命令更新。
sudo apt-get update
sudo apt-get dist-upgrade
以下是ubuntu 9.10 教育网的源:
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic main restricted universe multiverse
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-security main restricted universe multiverse
deb http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://Ubuntu.uestc.edu.cn/ubuntu/ karmic-updates main restricted universe multiverse