1、更新软件包列表并安装apt-spy

#apt-get install apt-spy

2、自动下载列表并使用apt-spy测试最快的源
#apt-spy update
#apt-spy -d stable -a Asia

3、查看生成的配置文件,里面是最快的源
#cat /etc/apt/sources.list.d/apt-spy.list

#cp /etc/apt/sources.list.d/apt-spy.list /etc/apt/sources.list

#apt-get update

 

几个比较快的

deb ftp://ftp.cn.debian.org/debian/ stable main #contrib non-free

deb http://mirrors.163.com/debian/ stable main #contrib non-free
deb-src http://mirrors.163.com/debian/ stable main #contrib non-free
deb http://security.debian.org/ stable/updates main