更新Ubuntu 10.10时哈希总和不匹配

执行“apt-get update”时出现这个错误,只有这个文件无法下载。

Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.bz2 Hash Sum mismatch Some index files failed to download, they have been ignored, or old ones used instead. 

这个错误已经重复了一段时间。 我怎样才能解决这个问题?

我试了我的国家的服务器,并在美国的主要服务器。 都给出了相同的结果。 我不在任何caching服务器后面。

通常,您可以通过执行以下操作来消除这些错误:

 root@host:~# apt-get clean root@host:~# cd /var/lib/apt root@host:/var/lib/apt# mv lists lists.old root@host:/var/lib/apt# mkdir -p lists/partial root@host:/var/lib/apt# apt-get update 

据我所知,这些错误主要发生在当你在一个caching代理之后。

这不是他们的错, http ://extras.ubuntu.com/ubuntu/dists/maverick/Release的校验和与http://extras.ubuntu.com/ubuntu/dists/maverick/main的md5sum / sha1sum / sha256sum相匹配/source/Sources.bz2 。

这种校验和错误通常是由于networking连接不良造成的。 您是否在服务器和Internet之间设置了某种caching服务器?