"hash sum mismatch" error when doing update [duplicate]

Solution 1:

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