Please see the error that I get every time when I try to apt update
below.
I use a Raspberry Pi 3 Model B.
I did a lot of research and tried a lot of things to solve that issue:
-Changed the /etc/apt/sources.list and tried at least 8 different mirrors
-Used another SD card and tried another OS (Ubuntu Server), which resulted in the same hash sum mismatch error.
-Removed the files in /var/lib/apt/lists
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://mirrors.dotsrc.org/raspbian/raspbian buster InRelease [15.0 kB]
Get:3 http://mirrors.dotsrc.org/raspbian/raspbian buster/main armhf Packages [13.0 MB]
Err:3 http://mirrors.dotsrc.org/raspbian/raspbian buster/main armhf Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:13004660 [weak]
- SHA256:f32bfac3781e4ba0fb0d24b506c2fb3e4f8c3e6aa07ac12a44da808e5e6f67cb
- SHA1:9ff62b5e584f418a138a394fc14ee9acf6f16618 [weak]
- MD5Sum:0d073ad80299789c43c61ebe1ac18000 [weak]
Hashes of received file:
- SHA256:d6a8c7bfca7d92bc9d05d0d4681395a55a34f21e0ccb256f7ea83ad92ca45917
- SHA1:7e063285421e0dac16a333e66322b41ea0eb9303 [weak]
- MD5Sum:11f8227ec8fe20bdcf628ad34f96bc59 [weak]
- Filesize:13004660 [weak]
Last modification reported: Thu, 01 Oct 2020 23:02:49 +0000
Release file created at: Thu, 01 Oct 2020 23:09:32 +0000
Get:4 http://mirrors.dotsrc.org/raspbian/raspbian buster/contrib armhf Packages [58.7 kB]
Get:5 http://mirrors.dotsrc.org/raspbian/raspbian buster/non-free armhf Packages [104 kB]
Get:6 http://mirrors.dotsrc.org/raspbian/raspbian buster/rpi armhf Packages [1,360 B]
Fetched 13.2 MB in 4s (3,491 kB/s)
Reading package lists... Done
E: Failed to fetch http://mirrors.dotsrc.org/raspbian/raspbian/dists/buster/main/binary-armhf/Packages.xz Hash Sum mismatch
Hashes of expected file:
- Filesize:13004660 [weak]
- SHA256:f32bfac3781e4ba0fb0d24b506c2fb3e4f8c3e6aa07ac12a44da808e5e6f67cb
- SHA1:9ff62b5e584f418a138a394fc14ee9acf6f16618 [weak]
- MD5Sum:0d073ad80299789c43c61ebe1ac18000 [weak]
Hashes of received file:
- SHA256:d6a8c7bfca7d92bc9d05d0d4681395a55a34f21e0ccb256f7ea83ad92ca45917
- SHA1:7e063285421e0dac16a333e66322b41ea0eb9303 [weak]
- MD5Sum:11f8227ec8fe20bdcf628ad34f96bc59 [weak]
- Filesize:13004660 [weak]
Last modification reported: Thu, 01 Oct 2020 23:02:49 +0000
Release file created at: Thu, 01 Oct 2020 23:09:32 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
http://raspbian.raspberrypi.org/raspbian/
– Jaromanda X Oct 3 '20 at 2:38