I tried to install:
- Ubuntu 20.04
- Xubuntu 20.04
- Kubuntu 20.04
But, post install on execute sudo apt-get update
, I received the message "Hash Sum mismatch"
What is the problem?
I tried:
apt clean
apt-get clean
rm -rf /var/lib/apt/lists/*
I tried to install:
But, post install on execute sudo apt-get update
, I received the message "Hash Sum mismatch"
What is the problem?
I tried:
apt clean
apt-get clean
rm -rf /var/lib/apt/lists/*
To solve hash sum mismatch you simply need to enable acquire-by-hash
which is available in apt 1.2.0 or newer (if you are using Ubuntu Xenial (16.04) or Debian Stretch, or anything newer, you will be running a version of APT that supports this feature).
To enable acquire-by-hash
do the following:
sudo -s
echo "Acquire::By-Hash \"yes\"; ">/etc/apt/apt.conf.d/01byhash
apt update
For a background on apt and other fixes to your problem, see this helpful webpage.
If the above doesn't work for you you can try the following commands:
sudo -s
apt-get clean
rm -rf /var/lib/apt/lists/*
apt-get clean
apt-get update
apt-get upgrade