[Solved] Hash Sum mismatch on fresh install

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
farlock85
Posts: 2
Joined: Thu Aug 16, 2018 3:57 pm

[Solved] Hash Sum mismatch on fresh install

Post by farlock85 »

I just installed the latest version of dietPi on a RPI3. It's plugged in the ethernet connection and verified that internet works on it.

When the installer hits the update function, or when I do sudo apt-get update I get the following errors:

Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Get:2 https://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:3 https://archive.raspberrypi.org/debian stretch/ui armhf Packages [34.0 kB]
Err:3 https://archive.raspberrypi.org/debian stretch/ui armhf Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:34000 [weak]
- SHA256:8a65365b24744683c70ddf2fcda1c578f828ba926025ab6c10ce59fa47cadca3
- SHA1:41af19d859e32695d8339a543b5f59c38b750609 [weak]
- MD5Sum:5812a1a530294fc16f102f8ab77df52e [weak]
Hashes of received file:
- SHA256:8192ac0db16c34e710338c6f52018aae9879efbdef3bca00ea3664473dc4bb10
- SHA1:46a2f02882a72a7166ced6556975bdc8831c5983 [weak]
- MD5Sum:2ce2d1cca66fd178cad12672b6220862 [weak]
- Filesize:33996 [weak]
Last modification reported: Thu, 09 Aug 2018 12:16:44 +0000
Release file created at: Thu, 16 Aug 2018 13:06:13 +0000
Fetched 59.3 kB in 3s (17.4 kB/s)
Reading package lists... Done
E: Failed to fetch https://archive.raspberrypi.org/debian/ ... ackages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:34000 [weak]
- SHA256:8a65365b24744683c70ddf2fcda1c578f828ba926025ab6c10ce59fa47cadca3
- SHA1:41af19d859e32695d8339a543b5f59c38b750609 [weak]
- MD5Sum:5812a1a530294fc16f102f8ab77df52e [weak]
Hashes of received file:
- SHA256:8192ac0db16c34e710338c6f52018aae9879efbdef3bca00ea3664473dc4bb10
- SHA1:46a2f02882a72a7166ced6556975bdc8831c5983 [weak]
- MD5Sum:2ce2d1cca66fd178cad12672b6220862 [weak]
- Filesize:33996 [weak]
Last modification reported: Thu, 09 Aug 2018 12:16:44 +0000
Release file created at: Thu, 16 Aug 2018 13:06:13 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

I tried some suggestions like "sudo rm /var/lib/apt/lists/* -vf" but to no alas.

Is the sources list not correct perhaps?

deb http://raspbian.raspberrypi.org/raspbian stretch main contrib non-free rpi
farlock85
Posts: 2
Joined: Thu Aug 16, 2018 3:57 pm

Re: Hash Sum mismatch on fresh install

Post by farlock85 »

Well that was easy.. I had to disable IPv6 support through the initial setup screens and then it worked.
Post Reply