Apt无法获得压缩源

我的Debian服务器(3.2.60-1 + deb7u3 x86_64)无法从security.debian.org获取更新。 我认为这是由版本库引起的,因为版本库中只有压缩文件。 我该如何解决?

获取错误

 W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 404 Not Found [IP: 212.211.132.32 80] W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-i386/Packages 404 Not Found [IP: 212.211.132.32 80] 

源设置

 deb http://ftp.cz.debian.org/debian/ wheezy main deb-src http://ftp.cz.debian.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib non-free deb http://ftp.cz.debian.org/debian/ wheezy-updates main deb-src http://ftp.cz.debian.org/debian/ wheezy-updates main 

我已经通过Glueon的评论来修正它。 现在工作正常。

有同样的问题。 sudo apt-get clean; sudo apt-get update没有帮助。 正如我记得我删除了安全回购,做apt-get更新,然后再次添加它和apt-get更新。

这是一个已知的错误 。 该错误报告中解释的解决方法是运行

 sudo find /var/lib/apt -type f -exec rm {} \+ sudo apt-get update 

它为我工作。

尝试重build您的aptcaching:

 sudo apt-get clean sudo apt-get update 

然后看看它是否有效。