Today while trying to install Gnome-RDP & after adding the universe repository to my list of repositories I kept getting the following error:
W:Failed to fetch gzip:/var/lib/apt/lists/partial/ae.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-amd64_Packages Hash Sum mismatch, E:Some index files failed to download. They have been ignored, or old ones used instead.
As I am sure I would not be the only one having this error, I have decided to share the resolution path I have took to fix this error.
First step I went to the Ubuntu Software Center => Edit => Software Sources where I found my Download from is United Arab Emirates just change it back to Main Servers as shown in the screen shot below:
Although I had few errors in the output of the first command things worked fine after the execution of the rest of the commands. For those of you who care to see the full output of these commands, then please see the full output below:
ealaqqad@VMGuru:~$ sudo dpkg –configure -a
Setting up vmware-view-client (4.0.1-235010) …
umount: /proc/bus/usb: not found
mount: mount point /proc/bus/usb does not exist
dpkg: error processing vmware-view-client (–configure):
subprocess installed post-installation script returned error exit status 32
Errors were encountered while processing:
vmware-view-client
ealaqqad@VMGuru:~$ sudo apt-get clean
ealaqqad@VMGuru:~$ sudo apt-get autoclean
Reading package lists… Done
Building dependency tree
Reading state information… Done
ealaqqad@VMGuru:~$ sudo apt-get update
Ign http://archive.canonical.com natty InRelease
Ign http://extras.ubuntu.com natty InRelease
Hit http://archive.canonical.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://archive.canonical.com natty Release
Hit http://extras.ubuntu.com natty/main Sources
Hit http://archive.canonical.com natty/partner Sources
Hit http://extras.ubuntu.com natty/main amd64 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://archive.canonical.com natty/partner amd64 Packages
Ign http://archive.canonical.com natty/partner TranslationIndex
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://archive.ubuntu.com natty-updates Release.gpg
Hit http://archive.ubuntu.com natty-security Release.gpg
Hit http://archive.ubuntu.com natty Release
Hit http://archive.ubuntu.com natty-updates Release
Hit http://archive.ubuntu.com natty-security Release
Hit http://archive.ubuntu.com natty/main Sources
Hit http://archive.ubuntu.com natty/restricted Sources
Hit http://archive.ubuntu.com natty/universe Sources
Hit http://archive.ubuntu.com natty/multiverse Sources
Hit http://archive.ubuntu.com natty/main amd64 Packages
Hit http://archive.ubuntu.com natty/restricted amd64 Packages
Hit http://archive.ubuntu.com natty/universe amd64 Packages
Hit http://archive.ubuntu.com natty/multiverse amd64 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Hit http://archive.ubuntu.com natty-updates/main Sources
Hit http://archive.ubuntu.com natty-updates/restricted Sources
Hit http://archive.ubuntu.com natty-updates/universe Sources
Hit http://archive.ubuntu.com natty-updates/multiverse Sources
Hit http://archive.ubuntu.com natty-updates/main amd64 Packages
Hit http://archive.ubuntu.com natty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com natty-updates/universe amd64 Packages
Ign http://archive.canonical.com natty/partner Translation-en_US
Hit http://archive.ubuntu.com natty-updates/multiverse amd64 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Hit http://archive.ubuntu.com natty-security/main Sources
Ign http://archive.canonical.com natty/partner Translation-en
Hit http://archive.ubuntu.com natty-security/restricted Sources
Hit http://archive.ubuntu.com natty-security/universe Sources
Hit http://archive.ubuntu.com natty-security/multiverse Sources
Hit http://archive.ubuntu.com natty-security/main amd64 Packages
Ign http://extras.ubuntu.com natty/main Translation-en_US
Hit http://archive.ubuntu.com natty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com natty-security/universe amd64 Packages
Hit http://archive.ubuntu.com natty-security/multiverse amd64 Packages
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en_US
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en_US
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en_US
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en_US
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en_US
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en_US
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Reading package lists… Done
:
:
I hope this post help some one fix a similar issue :).
Please leave a command if this post helped you resolve your issue. Thanks.