解决“Some index files failed to download, they have been ignored, or old ones used instead.”

在Debian使用apt-get update出现"E: Some index files failed to download, they have been ignored, or old ones used instead."的错误提示问题


一、替换文件

/etc/apt/sources.list

二、替换文件中的源

deb http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free

再使用apt-get update就可以了

你可能感兴趣的:(Linux使用)