Fixing corrupted package repository list in Linux Mint

Posted by Jose Estudillo on February 12, 2014

Fixing corrupted package repository list in Linux Mint

I recently updated Linux Mint from Linux Mint 15 and I had problems with the existing source list that are placed in /var/lib/apt/lists. I was exactly getting the following error message:

    Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages Hash Sum mismatch

Like every time I have a problem I searched on the internet for a solution and I couldn’t find anything useful, so this is what I did:

  1. delete all the content from /var/lib/apt/lists
  2. run apt-get update as a super user (sudo apt-get update).

This works in Linux Mint 17, so it should be also fine with previous versions and Ubuntu.