Hash sum mismatch when updating ubuntu 10.10

ubuntu-10.10update

i got this error when executing "apt-get update", and only this file failed to download.

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.

this error has been repeated for a while. how can i fix this?

i tried both the servers in my country, and the main server in the US. both give the same results. i am not behind any cache server.

Best Answer

Usually, you can get rid of those errors by doing:

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

As I understand it, these errors occur mainly when you're behind a caching proxy.

Related Topic