Linux : Ubuntu apt-get update Hash Sum mismatch

By | January 27, 2015

Experiencing the following error while running “apt-get update” on your Ubuntu server?

W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/dist/precise/restricted/source/Sources Hash Sum mismatch
E: Some indes files failed to download. They haev been ignored, or old ones used instead.

Just run the following command :

sudo rm -Rf /var/lib/apt/lists/*

And run the update command again :

sudo apt-get update