I am running Ubuntu 11.10. On trying to check for updates using the Update Manager GUI, I encounter the following error:
Failed to download repository information Check your Internet
connection.
Details:
W:Failed to fetch bzip2:/var/lib/apt/lists/partial
/in.archive.ubuntu.com_ubuntu_dists_oneiric_restricted_binary-i386_Packages Hash Sum mismatch
, W:Failed to fetch bzip2:/var/lib/apt/lists/partial
/in.archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages Hash Sum mismatch
, W:Failed to fetch bzip2:/var/lib/apt/lists/partial
/in.archive.ubuntu.com_ubuntu_dists_oneiric_multiverse_binary-i386_Packages Hash Sum mismatch
, W:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/oneiric/main/i18n
/Index No Hash entry in Release file /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_oneiric_main_i18n_Index
, W:Failed to fetch bzip2:/var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_oneiric-updates_restricted_binary-i386_Packages Hash Sum mismatch
, E:Some index files failed to download. They have been ignored, or old ones used instead.
OR the details varied as:
W:Failed to fetch bzip2:/var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_oneiric_restricted_binary-i386_Packages Hash Sum mismatch
, W:Failed to fetch bzip2:/var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_oneiric_multiverse_binary-i386_Packages Hash Sum mismatch
, E:Some index files failed to download. They have been ignored, or old ones used instead
On Changing the Software Server to the Main Server and rechecking for updates, I got the following error:
E:Unable to parse package file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-backports_multiverse_i18n_Index (1)
The same errors were reproduced when I checked for updates using the Terminal. The Software Center too fails to show any information on any of the applications.
I am accessing the Internet using a Proxy Server, can that be a problem?
Best Answer
A hash mismatch is usually a sign of a broken mirror, so yes, changing mirror was a good approach to take. You can try switching back in a day or two, it may be fixed.
I don't know why you are getting an error on the i18n/Index file, but that's not very important, so you can happily ignore it.
I suggest running
rm /var/lib/apt/lists/partial/* /var/lib/apt/lists/*
, then trying to update the lists again.You can do the same operation with these commands: