APT Updates – Fix ‘Hash Sum Mismatch’ Error During Update

16.04apthashupdates

I have just installed 16.04 LTS. However, I cannot update.

$ sudo apt-get update
Fetched 34,3 MB in 1h 51min 52s (5.110 B/s)                                     
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-i386/by-hash/SHA256/e145fc3961ba6091b075afe8b3a89a5f58e1346b7d6cb0a1f4166dfcc3201392  Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.

I tried to many thing, but didn't help.
I tried the solutions from Trouble downloading packages list due to a "Hash sum mismatch" error, but it didn't solve the problem.

Best Answer

To get rid of this error, hit the keyboard shortcut Ctrl+Alt+T to open a terminal window.

Then type the commands given below in the terminal one-by-one:

sudo rm -rf /var/lib/apt/lists/*
sudo apt clean
sudo apt update
Related Question