换了源之后执行 apt-get update 总会阻在【23% waiting for headers】的地方。
上网看了一些解决方法,有说删除archieves文件夹下的所有内容,有说要换源的。两种我都尝试过,不过好像还是换源比较有效。
记录一下这次换的源——2014年9月21日08:54:06
deb http://mirrors.163.com/debian/ squeeze main non-free contrib deb http://mirrors.163.com/debian/ squeeze-proposed-updates main contrib non-free deb http://mirrors.163.com/debian-security/ squeeze/updates main contrib non-free deb-src http://mirrors.163.com/debian/ squeeze main non-free contrib deb-src http://mirrors.163.com/debian/ squeeze-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian-security/ squeeze/updates main contrib non-free deb http://ftp.sjtu.edu.cn/debian/ squeeze main non-free contrib deb http://ftp.sjtu.edu.cn/debian/ squeeze-proposed-updates main contrib non-free deb http://ftp.sjtu.edu.cn/debian-security/ squeeze/updates main contrib non-free deb-src http://ftp.sjtu.edu.cn/debian/ squeeze main non-free contrib deb-src http://ftp.sjtu.edu.cn/debian/ squeeze-proposed-updates main contrib non-free deb-src http://ftp.sjtu.edu.cn/debian-security/ squeeze/updates main contrib non-free
以上源来自:http://blog.csdn.net/byane/article/details/8266792
如果要备份的话:
cp /etc/apt/sources.list /etc/apt/sources.listbak #备份原有配置文件
Bon Appetite~
时间: 2024-11-03 03:25:17