使用apt-spy设置Debian5的源

参考文档:http://67054.blog.51cto.com/57054/128215

在/etc/apt/sources.list 中添加
deb http://http.us.debian.org/debian/ stable main

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

安装apt-spy:
apt-get install apt-spy

从源上下载一份源的镜像列表:
apt-spy update

测试亚洲地区的源的速度,自动写入/etc/apt/sources.list.d/apt-spy.list
apt-spy -d unstable -a asia -t 5

再次更新软件包列表:
apt-get update


posted on 2009-08-23 17:17  ddper  阅读(163)  评论(0编辑  收藏  举报

导航