W:Failed to fetch gzip:/var/lib/apt/lists/partial/

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.

failed-to-download-repository-information1

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:

my Ubuntu Software Center download change it to Main Servers

Now run the following commands:

sudo dpkg –configure -a

sudo apt-get clean

sudo apt-get autoclean

sudo apt-get update

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.

3 Responses to “W:Failed to fetch gzip:/var/lib/apt/lists/partial/”

  1. bab says:

    this one can be following to :
    I have solved my bug with that

    sudo rm /var/lib/apt/lists
    sudo mkdir /var/lib/apt/lists
    sudo apt-get update

  2. Alvaro Vargas says:

    Excelente aporte. El mio estaba apuntando a los servidores de Venezuela. Corri luego el apt-get update despues de los comandos que diste y perfecto. Muchas gracias.

  3. Thiudans says:

    Bab’s solution worked for me….

Leave a Reply