User avatar
maarten2001
Posts: 23
Joined: Tue Mar 05, 2013 5:03 pm

Hash-sum mismatch on apt-get

Thu Jan 02, 2014 9:24 am

I always get the "Hash-sum mismatch" error, and I have no idea why. Here is the log:

Code: Select all

pi@raspberrypi ~ $ sudo rm -f -r /var/lib/apt/lists/partial/
pi@raspberrypi ~ $ sudo apt-get update
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://repository.wolfram.com stable Release.gpg
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://repository.wolfram.com stable Release
Get:1 http://mirrordirector.raspbian.org wheezy/main armhf Packages [7,425 kB]
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Hit http://repository.wolfram.com stable/non-free armhf Packages
Ign http://repository.wolfram.com stable/non-free Translation-en_GB
Ign http://repository.wolfram.com stable/non-free Translation-en
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Get:2 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [48.0 kB]
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 7,473 kB in 21s (342 kB/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages  Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/mirrordirector.raspbian.org_raspbian_dists_wheezy_non-free_binary-armhf_Packages  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@raspberrypi ~ $
And I don't know if everyone has this problem. I tried to reinstall Raspbian more then 5 times, but that didn't help. I am using NOOBS, but when I use the Raspbian image with Win32 Disk Imager I get the same errors. What I like to know is if you have these problems too, and how to fix this.

User avatar
maarten2001
Posts: 23
Joined: Tue Mar 05, 2013 5:03 pm

Re: Hash-sum mismatch on apt-get

Thu Jan 02, 2014 9:30 pm

Is no one having this issue?

User avatar
DougieLawson
Posts: 42636
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: Hash-sum mismatch on apt-get

Thu Jan 02, 2014 10:02 pm

apt-get is working OK for me with the English mirrors.

I assume you've tried again in case it was a transient error.
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

User avatar
maarten2001
Posts: 23
Joined: Tue Mar 05, 2013 5:03 pm

Re: Hash-sum mismatch on apt-get

Fri Jan 03, 2014 7:53 am

I am trying for 4 days now and it still doesn't work. Can you tell me how I cange the mirror? (And which mirror you are using?)

User avatar
rpdom
Posts: 22361
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Hash-sum mismatch on apt-get

Fri Jan 03, 2014 8:33 am

One of the most common reasons (other than a bad mirror) for this sort of error is lack of space on your filesystem.

First check how much free space you have with "df -h /". If the available space seems fine, you can manually verify what is being downloaded with a few commands:

Code: Select all

pi@raspi:~$ cd /tmp
pi@raspi:/tmp$ # Download the gzipped Packages file first (you don't need to type this comment line)
pi@raspi:/tmp$ wget http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages.gz
--2014-01-03 08:17:02--  http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages.gz
Resolving mirrordirector.raspbian.org (mirrordirector.raspbian.org)... 5.153.225.207, 2001:41c9:1:3ce::11
Connecting to mirrordirector.raspbian.org (mirrordirector.raspbian.org)|5.153.225.207|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9519354 (9.1M) [application/x-gzip]
Saving to: `Packages.gz'

100%[======================================>] 9,519,354   3.84M/s   in 2.4s    

2014-01-03 08:17:04 (3.84 MB/s) - `Packages.gz' saved [9519354/9519354]
pi@raspi:/tmp$ # Now get the Release file that contains the hash sums and extract the ones we need (another comment line)
pi@raspi:/tmp$ wget -O - -q http://mirrordirector.raspbian.org/raspbian/dists/wheezy/Release | grep main/binary-armhf/Packages.gz
 8d9e97775e42679850cc2ac8d8053a74 9519354 main/binary-armhf/Packages.gz
 2e7d784c10d1ce0ace8ccbfd3014b5d6a6bc1055 9519354 main/binary-armhf/Packages.gz
 0fe4b38330aa16edac607ad070d587cfc4110d0fd647e8ee41dd65a38a8c1a96 9519354 main/binary-armhf/Packages.gz
pi@raspi:/tmp$ # Now compare the first hash sum with the downloaded file
pi@raspi:/tmp$ md5sum Packages.gz                                                
8d9e97775e42679850cc2ac8d8053a74  Packages.gz
pi@raspi:/tmp$
You can see that in my case the 8d9e...3a74 value matches, so my download is good.

Give it a try and let us know what you get as a result.

User avatar
maarten2001
Posts: 23
Joined: Tue Mar 05, 2013 5:03 pm

Re: Hash-sum mismatch on apt-get

Fri Jan 03, 2014 8:43 am

Okay, here you go:

Code: Select all

pi@raspberrypi ~ $ df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       5.8G  2.1G  3.4G  39% /
pi@raspberrypi ~ $ wget http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages.gz
--2014-01-03 08:41:39--  http://mirrordirector.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages.gz
Resolving mirrordirector.raspbian.org (mirrordirector.raspbian.org)... 5.153.225.207, 2001:41c9:1:3ce::11
Connecting to mirrordirector.raspbian.org (mirrordirector.raspbian.org)|5.153.225.207|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9519354 (9.1M) [application/x-gzip]
Saving to: `Packages.gz'

100%[=====================================================================================================================================================================>] 9,519,354   4.39M/s   in 2.1s

2014-01-03 08:41:42 (4.39 MB/s) - `Packages.gz' saved [9519354/9519354]

pi@raspberrypi ~ $ wget -O - -q http://mirrordirector.raspbian.org/raspbian/dists/wheezy/Release | grep main/binary-armhf/Packages.gz
 8d9e97775e42679850cc2ac8d8053a74 9519354 main/binary-armhf/Packages.gz
 2e7d784c10d1ce0ace8ccbfd3014b5d6a6bc1055 9519354 main/binary-armhf/Packages.gz
 0fe4b38330aa16edac607ad070d587cfc4110d0fd647e8ee41dd65a38a8c1a96 9519354 main/binary-armhf/Packages.gz
pi@raspberrypi ~ $ md5sum Packages.gz
4a806fba3ebaa4a0b86496765dc35de8  Packages.gz
pi@raspberrypi ~ $

User avatar
maarten2001
Posts: 23
Joined: Tue Mar 05, 2013 5:03 pm

Re: Hash-sum mismatch on apt-get

Fri Jan 03, 2014 4:40 pm

Yes! It works now! I just plugged in my wifi adapter i bought and it works!

Harold
Posts: 2
Joined: Sun Oct 21, 2012 3:32 pm

Re: Hash-sum mismatch on apt-get

Thu Jan 09, 2014 7:46 am

I had the exact same Hash Sum mismatch on the armhf_Packages. Tried all availables fixed (removing partial downloaded packages, etc...). Tried different raspbian version (jessy). Tried an 'supported' SD-card (Adata 8GB) and multiple other SD-cards.

All with the same result!

So the next thing I tried was using the SD-card I made (the Adata one) in another Raspberry PI. First it gave me the same Hash Sum mismatch error. But after removing all partially downloaded packages (rm -rf /var/lib/apt/lists/partial) and then doing an 'apt-get update & apt-get upgrade' it worked!!!

Now I was finally also able to do an firmware upgrade (rpi-update). But its the wrong Raspberry PI that I'm updating :-)

So my conclusion is that there is something wrong with the ethernet connection of my first Raspberry PI. I ones used XBMC on it and had issues when tying to watch HD movies on it (artifacts in the video). Must be because this Raspberry PI has problems with its ethernet connection.

I'm going to ask for an RMA from RS Componets for this Raspberry PI. Hope that they are going to swap it for a 100% working version.

User avatar
maarten2001
Posts: 23
Joined: Tue Mar 05, 2013 5:03 pm

Re: Hash-sum mismatch on apt-get

Thu Jan 09, 2014 7:51 am

Harold wrote:I had the exact same Hash Sum mismatch on the armhf_Packages. Tried all availables fixed (removing partial downloaded packages, etc...). Tried different raspbian version (jessy). Tried an 'supported' SD-card (Adata 8GB) and multiple other SD-cards.

All with the same result!

So the next thing I tried was using the SD-card I made (the Adata one) in another Raspberry PI. First it gave me the same Hash Sum mismatch error. But after removing all partially downloaded packages (rm -rf /var/lib/apt/lists/partial) and then doing an 'apt-get update & apt-get upgrade' it worked!!!

Now I was finally also able to do an firmware upgrade (rpi-update). But its the wrong Raspberry PI that I'm updating :-)

So my conclusion is that there is something wrong with the ethernet connection of my first Raspberry PI. I ones used XBMC on it and had issues when tying to watch HD movies on it (artifacts in the video). Must be because this Raspberry PI has problems with its ethernet connection.

I'm going to ask for an RMA from RS Componets for this Raspberry PI. Hope that they are going to swap it for a 100% working version.
Have you tried a wifi adapter yet? It fixed it for me..

smeezekitty
Posts: 15
Joined: Tue Dec 31, 2013 8:55 pm

Re: Hash-sum mismatch on apt-get

Fri Jan 10, 2014 8:54 am

I had the same problem. I gave up and switched to arch

entekathukal
Posts: 1
Joined: Thu Aug 14, 2014 2:56 pm

Re: Hash-sum mismatch on apt-get

Thu Aug 14, 2014 3:07 pm

Hi,

I got it working from the following....

Do these commands..............

Code: Select all

sudo apt-get clean
sudo rm /var/lib/apt/lists/partial/*
sudo nano /etc/apt/sources.list
delete everything and add the following lines to your sources.list file...........

Code: Select all

deb http://archive.raspbian.org/raspbian wheezy main contrib non-free
deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free
use this command for public key.............

Code: Select all

wget http://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -
Then do ..............

Code: Select all

sudo apt-get update
Done!!! Sorry for my bad English.....

SeaDude
Posts: 10
Joined: Sat Jul 12, 2014 4:18 am

Re: Hash-sum mismatch on apt-get

Mon Sep 15, 2014 11:08 pm

Had this same issue (which landed me on this page!).

My fix was looking carefully at the mirror url within the sources.list file. Somehow the mirror url showed an extra "http:" in front of the url. I removed the additional characters, saved the file, and sudo apt-get'd just fine.

Might help someone!

E

Lope
Posts: 70
Joined: Tue Jul 02, 2013 7:53 pm

Re: Hash-sum mismatch on apt-get

Sat May 02, 2015 4:45 pm

I had the same problem, researched it, tried all the suggested fixes for failed apt stuff, like this
rm /var/lib/apt/lists/partial/*
wget https://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -
(make sure you use https! I see a lot of suggestions to get raspberry pi public keys with http. very insecure!)

anyway. After I kept getting hash sum fails I just updated to jessie. Just change wheezy to jessie in your /etc/apt/sources.list file

pfmelamed
Posts: 4
Joined: Mon Aug 17, 2015 12:54 pm

Re: Hash-sum mismatch on apt-get

Thu Jul 28, 2016 11:19 am

You can do:

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update

And Go...
PF

User avatar
maarten2001
Posts: 23
Joined: Tue Mar 05, 2013 5:03 pm

Re: Hash-sum mismatch on apt-get

Sat Feb 11, 2017 2:16 pm

pfmelamed wrote:You can do:

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update

And Go...
PF
Doesn't work. I think that somehow the ethernet chip is corrupted or that there is a bad connection on the board somewhere. This thread is old, but the problem still occurs on the newest version of raspbian.

TheRiflesSpiral
Posts: 21
Joined: Tue Jan 03, 2017 8:11 pm

Re: Hash-sum mismatch on apt-get

Thu Dec 28, 2017 3:54 pm

pfmelamed wrote:
Thu Jul 28, 2016 11:19 am
You can do:

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update

And Go...
PF
This solved the issue I was having with Stretch. Fresh image right off the website yesterday (12/27/2017) sudo apt-get update would fail with hash-sum mismatch.

It now updates fine. (And very quickly)

Thanks!

John Mc
Posts: 59
Joined: Wed Feb 22, 2017 1:22 am

Re: Hash-sum mismatch on apt-get

Mon Jan 15, 2018 4:31 am

I too was having the hash sum mismatch errors when I tried to apt-get update the copy of 2017-11-29-raspbian-stretch I downloaded earlier today.

I tried the

Code: Select all

sudo rm /var/lib/apt/lists/* -vf
command as recommended above. Things seemed to change, and the downloads progressed differently than before, but I still get the mismatch error.

Here is what I'm seeing now:
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:2 http://archive.raspberrypi.org/debian stretch/main armhf Packages [127 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Get:5 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [27.7 kB]
Ign:4 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages
Get:6 http://mirrordirector.raspbian.org/raspbian stretch/contrib armhf Packages [56.8 kB]
Get:7 http://mirrordirector.raspbian.org/raspbian stretch/non-free armhf Packages [95.2 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian stretch/rpi armhf Packages [1,360 B]
Get:4 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [16.4 MB]
Err:4 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:16384381 [weak]
- SHA256:0bc72e9d8712b779a32e68d80a50b34725b79287ded672bc8edfa963670e75b3
- SHA1:e2c45aabeab68af717a60aadda59e3a22df013f9 [weak]
- MD5Sum:88c9811761d5d8525f1c5f537245770f [weak]
Hashes of received file:
- SHA256:1180ba57bf24918be3cf592bcea8dd65b3cfd2404f5c447788a350a809342f2b
- SHA1:885d366690f24515dc541050d659555a193e5494 [weak]
- MD5Sum:09ec6a58c4e935c7f01b79b1bec38d67 [weak]
- Filesize:293495 [weak]
Last modification reported: Sun, 14 Jan 2018 22:38:54 +0000
Release file created at: Sun, 14 Jan 2018 22:43:19 +0000
Fetched 490 kB in 7min 9s (1,140 B/s)
Reading package lists... Done
E: Failed to fetch http://mirrordirector.raspbian.org/rasp ... ackages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:16384381 [weak]
- SHA256:0bc72e9d8712b779a32e68d80a50b34725b79287ded672bc8edfa963670e75b3
- SHA1:e2c45aabeab68af717a60aadda59e3a22df013f9 [weak]
- MD5Sum:88c9811761d5d8525f1c5f537245770f [weak]
Hashes of received file:
- SHA256:1180ba57bf24918be3cf592bcea8dd65b3cfd2404f5c447788a350a809342f2b
- SHA1:885d366690f24515dc541050d659555a193e5494 [weak]
- MD5Sum:09ec6a58c4e935c7f01b79b1bec38d67 [weak]
- Filesize:293495 [weak]
Last modification reported: Sun, 14 Jan 2018 22:38:54 +0000
Release file created at: Sun, 14 Jan 2018 22:43:19 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also can someone explain what that "sudo rm /var/lib/apt/lists/* -vf" command is actually doing? Is it safe to assume no functionality is lost by removing these items?

John Mc
Posts: 59
Joined: Wed Feb 22, 2017 1:22 am

Re: Hash-sum mismatch on apt-get

Mon Jan 15, 2018 5:06 am

Well, not sure what was going on. Multiple attempts at apt-get update filed with the "hash sum mismatch" error. I noticed that the actual downloaded size was much smaller than the expected file size. I also noticed that my internet connection had slowed to a crawl (despite the fact that all the kids were in bed and their various devices shut down).

Unplugged my DSL modem, waited a couple of minutes and plugged it back in. My internet connection is now much faster (speed tests show expected speeds). Apt-get update worked normally (I suspect the update was timing out due to my poor connection??), but apt-get upgrade had an error. I've tried several times, including going back to

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
sudo apt-get upgrade

Still getting errors on upgrade when it gets to the pythin3 upgrade:
pi@raspberrypi:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
python3-scrollphathd
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
38 not fully installed or removed.
Need to get 0 B/18.0 kB of archives.
After this operation, 14.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 122984 files and directories currently installed.)
Preparing to unpack .../python3-scrollphathd_1.1.0_all.deb ...
Unpacking python3-scrollphathd (1.1.0) over (1.0.1) ...
dpkg: error processing archive /var/cache/apt/archives/python3-scrollphathd_1.1.0_all.deb (--unpack):
trying to overwrite '/usr/bin/scrollphathd_api', which is also in package python-scrollphathd 1.1.0
Errors were encountered while processing:
/var/cache/apt/archives/python3-scrollphathd_1.1.0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas what I should do?

John Mc
Posts: 59
Joined: Wed Feb 22, 2017 1:22 am

Re: Hash-sum mismatch on apt-get

Mon Jan 15, 2018 5:27 am

Should have looked a bit more first. Found the solution to the python3 upgrade problem in this thread:
python-scrollphathd upgrade problem

(note minor typo in the first of the 2 commands mentioned: "archive" should be "archives")

sparson
Posts: 1
Joined: Wed Mar 14, 2018 12:32 am

Re: Hash-sum mismatch on apt-get

Wed Mar 14, 2018 12:33 am

I was having this problem, it turned out to be a bad usb wifi causing it.

evanshaw
Posts: 19
Joined: Wed Jun 20, 2012 12:40 pm

Re: Hash-sum mismatch on apt-get

Fri Apr 06, 2018 11:47 am

I've been getting this for the past few days: -

Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [144 kB]
Err:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:143864 [weak]
- SHA256:8fc6ad6722502f2dc9472338ab68c8d12dd93938e180984c3568c7189365c4df
- SHA1:ca95ae1f199a1735e80c05f7b518068d8c8ed4a4 [weak]
- MD5Sum:16ae5523755b2f8b6c78fdfa86b518ed [weak]
Hashes of received file:
- SHA256:3b16e394099d5fd8a3a3d32fec7c3863c51562543d3ef2b66a9a5e22d4921c1b
- SHA1:184cc125fa70c53acf2d2db47b054061e196d462 [weak]
- MD5Sum:dc9b089480ad12149d673b1667bc8f25 [weak]
- Filesize:143861 [weak]
Last modification reported: Tue, 20 Mar 2018 10:25:25 +0000
Release file created at: Tue, 03 Apr 2018 11:20:30 +0000
Get:5 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [28.2 kB]
Get:6 http://mirrordirector.raspbian.org/raspbian stretch/contrib armhf Packages [56.8 kB]
Get:7 http://mirrordirector.raspbian.org/raspbian stretch/non-free armhf Packages [95.2 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian stretch/rpi armhf Packages [1,360 B]
Fetched 12.0 MB in 9s (1,257 kB/s)
Reading package lists... Done
E: Failed to fetch http://archive.raspberrypi.org/debian/d ... ackages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:143864 [weak]
- SHA256:8fc6ad6722502f2dc9472338ab68c8d12dd93938e180984c3568c7189365c4df
- SHA1:ca95ae1f199a1735e80c05f7b518068d8c8ed4a4 [weak]
- MD5Sum:16ae5523755b2f8b6c78fdfa86b518ed [weak]
Hashes of received file:
- SHA256:3b16e394099d5fd8a3a3d32fec7c3863c51562543d3ef2b66a9a5e22d4921c1b
- SHA1:184cc125fa70c53acf2d2db47b054061e196d462 [weak]
- MD5Sum:dc9b089480ad12149d673b1667bc8f25 [weak]
- Filesize:143861 [weak]
Last modification reported: Tue, 20 Mar 2018 10:25:25 +0000
Release file created at: Tue, 03 Apr 2018 11:20:30 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.


I've tried the fix above, i.e. sudo rm /var/lib/apt/lists/* -vf
and then doing another apt-update, but still the same result.

So downloading the file to /tmp with :-
wget http://archive.raspberrypi.org/debian/d ... ackages.gz

and then getting the hash: -

wget -O - -q http://mirrordirector.raspbian.org/rasp ... ch/Release | grep main/binary-armhf/Packages.gz
8c7bb817559bfb73e5f197defd8f0027 16385025 main/binary-armhf/Packages.gz
ad884f1b0cdcc7422f4466cfa832440c7c899b63 16385025 main/binary-armhf/Packages.gz
17f69c967b3fc21d464f650c57d59b50e62c06d7bf1c0230cbcd0d961a601614 16385025 main/binary-armhf/Packages.gz

comparing that I get: -

md5sum Packages.gz
dc9b089480ad12149d673b1667bc8f25 Packages.gz

And I've tried the same on an Opensuse machine as well, as a cross check to make sure my wifi and SD card are ok, same results on the Opensuse machine.

Any help appreciated.

richardspitz
Posts: 1
Joined: Wed May 16, 2018 1:13 pm

Re: Hash-sum mismatch on apt-get

Wed May 16, 2018 1:16 pm

After struggling with this issue for several hours, running all the commands prescribed here, I decided to reboot my router and voila!

I can't understand what the matter was, but I guess I can get back to work now :-)

Return to “Troubleshooting”