Parrot 5.0 LTS - sudo parrot-upgrade gives Hash Sum mismatch errors

Just tried out the new Parrot-security-5.0_amd64.iso on KVM. Install went well. Rebooted and ran

sudo parrot-upgrade

and received hash errors for downloaded packages. I was however able to use Synaptic to upgrade said packages without error.

┌─[a-non@cracker]─[~]
└──╼ $sudo parrot-upgrade

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for a-non: 
Get:1 https://deb.parrot.sh/parrot lts InRelease [14.6 kB]
Get:2 https://deb.parrot.sh/parrot parrot InRelease [14.6 kB]
Get:3 https://deb.parrot.sh/direct/parrot parrot-security InRelease [14.3 kB]
Get:4 https://deb.parrot.sh/parrot parrot-backports InRelease [14.5 kB]
Get:5 https://deb.parrot.sh/parrot lts/main Sources [14.0 MB]
Get:6 https://deb.parrot.sh/parrot lts/contrib Sources [65.7 kB]
Get:7 https://deb.parrot.sh/parrot lts/non-free Sources [123 kB]
Get:8 https://deb.parrot.sh/parrot lts/main amd64 Packages [17.7 MB]
Get:9 https://deb.parrot.sh/parrot lts/contrib amd64 Packages [111 kB]
Get:10 https://deb.parrot.sh/parrot lts/non-free amd64 Packages [202 kB]
Get:11 https://deb.parrot.sh/parrot parrot/main amd64 Packages [17.7 MB]
Get:12 https://deb.parrot.sh/parrot parrot/contrib amd64 Packages [111 kB]
Get:13 https://deb.parrot.sh/parrot parrot/non-free amd64 Packages [202 kB]
Get:14 https://deb.parrot.sh/direct/parrot parrot-security/main amd64 Packages [239 kB]
Get:15 https://deb.parrot.sh/parrot parrot-backports/main amd64 Packages [582 kB]
Get:16 https://deb.parrot.sh/parrot parrot-backports/contrib amd64 Packages [17.3 kB]
Get:17 https://deb.parrot.sh/parrot parrot-backports/non-free amd64 Packages [20.6 kB]
Fetched 51.1 MB in 7s (7,532 kB/s)                                                                                   
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  curl libcurl3-gnutls libcurl4 libtiff5 tor tor-geoipdb
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,703 kB of archives.
After this operation, 440 kB of additional disk space will be used.
Get:4 https://deb.parrot.sh/direct/parrot parrot-security/main amd64 libtiff5 amd64 4.2.0-1+deb11u1 [289 kB]
Get:1 https://deb.parrot.sh/parrot parrot-backports/main amd64 curl amd64 7.82.0-2~bpo11+1 [286 kB]
Get:2 https://deb.parrot.sh/parrot parrot-backports/main amd64 libcurl4 amd64 7.82.0-2~bpo11+1 [357 kB]
Get:3 https://deb.parrot.sh/parrot parrot-backports/main amd64 libcurl3-gnutls amd64 7.82.0-2~bpo11+1 [353 kB]
Get:5 https://deb.parrot.sh/parrot parrot-backports/main amd64 tor-geoipdb all 0.4.6.10-1~bpo11+1 [1,434 kB]
Get:6 https://deb.parrot.sh/parrot parrot-backports/main amd64 tor amd64 0.4.6.10-1~bpo11+1 [1,984 kB]
Err:1 https://deb.parrot.sh/parrot parrot-backports/main amd64 curl amd64 7.82.0-2~bpo11+1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:aa56fc7683148915f824425e60d60496182b8da2fee19585ccb2f07122624ab9
   - SHA1:33623766fb7c65b2e3beeb5bd5cc6050f1be89fd [weak]
   - MD5Sum:286d512bb8841651b423065b7bff661f [weak]
   - Filesize:285576 [weak]
  Hashes of received file:
   - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
   - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
   - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
   - Filesize:2791 [weak]
  Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
Err:2 https://deb.parrot.sh/parrot parrot-backports/main amd64 libcurl4 amd64 7.82.0-2~bpo11+1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:fcd9fdbe206ddb3d3e0733c502feeb79223764342b15c07dd4948b02dd604fb0
   - SHA1:fa78f42fb7ba8c62c319971fbe697d4c346f2867 [weak]
   - MD5Sum:6d0585b48eb0ae848f61e9bce462d62a [weak]
   - Filesize:357168 [weak]
  Hashes of received file:
   - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
   - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
   - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
   - Filesize:2791 [weak]
  Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
Err:3 https://deb.parrot.sh/parrot parrot-backports/main amd64 libcurl3-gnutls amd64 7.82.0-2~bpo11+1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:d337c60bbe8df41ebc93abaf4d7b43da3a5db281f185e844f1953d6aa2e1b25a
   - SHA1:2e9fcb0ece5e1a76ecd542422e42bb1fae9dba63 [weak]
   - MD5Sum:8999a681e96490c008fa2364afa2383a [weak]
   - Filesize:353000 [weak]
  Hashes of received file:
   - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
   - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
   - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
   - Filesize:2791 [weak]
  Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
Err:5 https://deb.parrot.sh/parrot parrot-backports/main amd64 tor-geoipdb all 0.4.6.10-1~bpo11+1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:74e79579f50f2f1f902d4a927eb451a67d75c772885e7cad4610943cb71f8879
   - SHA1:1205572a6da625c280bdc28a0c33547cccbe0735 [weak]
   - MD5Sum:2861e00cb1f9d82d93342a9e004ea632 [weak]
   - Filesize:1433796 [weak]
  Hashes of received file:
   - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
   - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
   - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
   - Filesize:2791 [weak]
  Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
Err:6 https://deb.parrot.sh/parrot parrot-backports/main amd64 tor amd64 0.4.6.10-1~bpo11+1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:00ad30a958d9ec912bae70a7c8cbbba3118ee53537ad5caabc409a6407228cf8
   - SHA1:8fdc96a23956b55c4e57cb38b12cc53da9de9320 [weak]
   - MD5Sum:7b6e2fcd933b8949f4fe815cfad08fc4 [weak]
   - Filesize:1984488 [weak]
  Hashes of received file:
   - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
   - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
   - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
   - Filesize:2791 [weak]
  Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
Fetched 292 kB in 1s (482 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 434664 files and directories currently installed.)
Preparing to unpack .../libtiff5_4.2.0-1+deb11u1_amd64.deb ...
Unpacking libtiff5:amd64 (4.2.0-1+deb11u1) over (4.2.0-1) ...
Setting up libtiff5:amd64 (4.2.0-1+deb11u1) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Failed to fetch https://deb.parrot.sh/direct/parrot/  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:aa56fc7683148915f824425e60d60496182b8da2fee19585ccb2f07122624ab9
    - SHA1:33623766fb7c65b2e3beeb5bd5cc6050f1be89fd [weak]
    - MD5Sum:286d512bb8841651b423065b7bff661f [weak]
    - Filesize:285576 [weak]
   Hashes of received file:
    - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
    - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
    - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
    - Filesize:2791 [weak]
   Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
E: Failed to fetch https://deb.parrot.sh/direct/parrot/  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:fcd9fdbe206ddb3d3e0733c502feeb79223764342b15c07dd4948b02dd604fb0
    - SHA1:fa78f42fb7ba8c62c319971fbe697d4c346f2867 [weak]
    - MD5Sum:6d0585b48eb0ae848f61e9bce462d62a [weak]
    - Filesize:357168 [weak]
   Hashes of received file:
    - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
    - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
    - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
    - Filesize:2791 [weak]
   Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
E: Failed to fetch https://deb.parrot.sh/direct/parrot/  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:d337c60bbe8df41ebc93abaf4d7b43da3a5db281f185e844f1953d6aa2e1b25a
    - SHA1:2e9fcb0ece5e1a76ecd542422e42bb1fae9dba63 [weak]
    - MD5Sum:8999a681e96490c008fa2364afa2383a [weak]
    - Filesize:353000 [weak]
   Hashes of received file:
    - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
    - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
    - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
    - Filesize:2791 [weak]
   Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
E: Failed to fetch https://deb.parrot.sh/direct/parrot/  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:74e79579f50f2f1f902d4a927eb451a67d75c772885e7cad4610943cb71f8879
    - SHA1:1205572a6da625c280bdc28a0c33547cccbe0735 [weak]
    - MD5Sum:2861e00cb1f9d82d93342a9e004ea632 [weak]
    - Filesize:1433796 [weak]
   Hashes of received file:
    - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
    - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
    - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
    - Filesize:2791 [weak]
   Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
E: Failed to fetch https://deb.parrot.sh/direct/parrot/  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:00ad30a958d9ec912bae70a7c8cbbba3118ee53537ad5caabc409a6407228cf8
    - SHA1:8fdc96a23956b55c4e57cb38b12cc53da9de9320 [weak]
    - MD5Sum:7b6e2fcd933b8949f4fe815cfad08fc4 [weak]
    - Filesize:1984488 [weak]
   Hashes of received file:
    - SHA256:5cf4002fe5868134c6346e199636383884eaac3bc408ef616299d63848f7c95e
    - SHA1:4345808c7193990cbe3a401b651efded485fc01c [weak]
    - MD5Sum:540fab187630c6017275a3a5236a3b00 [weak]
    - Filesize:2791 [weak]
   Last modification reported: Sat, 26 Mar 2022 18:40:21 +0000
1 Like

Seems like the core mirror is redirecting to corrupted mirror. Did you try change mirror manually?

I installed using the 5.0 ISO, rebooted, and immediately typed sudo parrot-upgrade (using the default mirrors and not touching anything else). Just thought I’d report the issue as I imagine others using the ISO or the default (local?) mirrors might experience the same issue right after installing 5.0 LTS.

https://deb.parrot.sh/direct/parrot/

Well technically this is the address to use online redirector. So it redirects you to any random nearest servers and it also means if you have checksum error, that is the error of the mirror when it synced

1 Like