-
每次当我们装完ubuntu9.10的时候,紧接着要做的就是更新里面的软件和语言包,而ubuntu自带的更新源下载起来会很慢,所以我们可以更改一下更新源,以便让他下载的能快点,节省些时间。下面就来说说它的几个步骤。
首先先备份下原先的更新源文件:
在终端输入命令: sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
然后修改更新源文件:
在终端输入命令: sudo gedit /etc/apt/sources.list
把里面内容删除添加下面的源,保存退出。
一.骨头源
deb http://ubuntu.srt.cn/ubuntu/ karmic main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ karmic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
二.上海交大源
deb http://mirror.bjtu.edu.cn/ubuntu karmic main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu karmic-security main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu karmic-updates main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu karmic-backports main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu karmic-proposed main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu karmic main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu karmic-security main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu karmic-updates main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu karmic-backports main restricted universe multiverse
deb-src http://mirror.bjtu.edu.cn/ubuntu karmic-proposed main restricted universe multiverse
我已经试过了,这两个源下载速度很快。大家可以试试看
Ubuntu 修改源
最新推荐文章于 2024-04-30 21:34:04 发布