deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
不同的网络状况连接以下源的速度不同, 所以cn99并不一定是最快的源, 建议在添加前手动验证以下源的连接速度(ping下就行),比如说北京网通ADSL用户连接cn99就非常慢(Then what’s the fastest source for Beijing Netcom? ),而ftp.sjtu.edu.cn是相对较快的源,选择最快的源可以节省大批下载时间
- 1 首先备份源列表:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
- 2 而后用gedit或其他编辑器打开 /etc/apt/sources.list
gksu gedit /etc/apt/sources.list
kdesu kate /etc/apt/sources.list
gksu mousepad /etc/apt/sources.list
gksu gedit /etc/apt/sources.list
- 3 从下面列表中选择合适的源,替换掉文件中所有的内容,保存编辑好的文件: