apt update don't work because of "Hash Sum mismatch"

Hi guys, I’ve just installed Parrot 4.9 with the OVA official image in VirtualBox with a Windows 10 host. Once booted I try to do an apt update but I can’t because of this error:

└──╼ $sudo apt update
[sudo] password for user: 
Get:1 https://deb.parrot.sh/parrot rolling InRelease
Get:2 https://deb.parrot.sh/parrot rolling-security InRelease
Get:3 https://deb.parrot.sh/parrot rolling/main amd64 Packages [17.0 MB]
Err:3 https://deb.parrot.sh/parrot rolling/main amd64 Packages
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:16950836 [weak]
   - SHA256:7248c096549de4ee7e04e656df68c2ef38c659a4d09f08b031b256144039c28e
   - SHA1:aeb7efb9b44661c3e407b2e855d394cbc921852a [weak]
   - MD5Sum:a91e81c860fa8fb6f0042d655ecda970 [weak]
  Hashes of received file:
   - SHA256:ad2954078beb06e2e38950cc15603423d851a0d0390188b83870dbdf07459a0c
   - SHA1:0f34f712ca51c5517e76dbeaefe8a6e2472e0fcb [weak]
   - MD5Sum:ff0687ca4f1c4a3ee3fe735b39692eba [weak]
   - Filesize:16950836 [weak]
  Last modification reported: Sun, 07 Jun 2020 19:31:30 +0000
  Release file created at: Sun, 07 Jun 2020 19:31:34 +0000
Get:4 https://deb.parrot.sh/parrot rolling/contrib amd64 Packages [137 kB]
Get:5 https://deb.parrot.sh/parrot rolling/non-free amd64 Packages [231 kB]
Get:6 https://deb.parrot.sh/parrot rolling-security/main amd64 Packages [319 kB]
Get:7 https://deb.parrot.sh/parrot rolling-security/non-free amd64 Packages [619 B]
Err:6 https://deb.parrot.sh/parrot rolling-security/main amd64 Packages        
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:1595237 [weak]
   - SHA256:3ae9e45379e2da5c46f950ad303e3c13f471b883ace78ae1d273d63ef0575e8d
   - SHA1:5a9068b18a3019e5ed14962bb835fec496b3d2a9 [weak]
   - MD5Sum:8bafe6dc18edbea3a082e98bdc322840 [weak]
  Hashes of received file:
   - SHA256:8836b3d14df15c09fa91b5bbf5eb5cd77eb28b8b0467e951606c44c267d8115d
   - SHA1:5a9068b18a3019e5ed14962bb835fec496b3d2a9 [weak]
   - MD5Sum:8bafe6dc18edbea3a082e98bdc322840 [weak]
   - Filesize:1595237 [weak]
  Last modification reported: Sat, 30 May 2020 01:12:07 +0000
  Release file created at: Sat, 30 May 2020 01:12:08 +0000
Fetched 17.7 MB in 6s (2,856 kB/s)                                             
Reading package lists... Done
E: Failed to fetch https://deb.parrot.sh/parrot/dists/rolling/main/binary-amd64/Packages.gz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:16950836 [weak]
    - SHA256:7248c096549de4ee7e04e656df68c2ef38c659a4d09f08b031b256144039c28e
    - SHA1:aeb7efb9b44661c3e407b2e855d394cbc921852a [weak]
    - MD5Sum:a91e81c860fa8fb6f0042d655ecda970 [weak]
   Hashes of received file:
    - SHA256:ad2954078beb06e2e38950cc15603423d851a0d0390188b83870dbdf07459a0c
    - SHA1:0f34f712ca51c5517e76dbeaefe8a6e2472e0fcb [weak]
    - MD5Sum:ff0687ca4f1c4a3ee3fe735b39692eba [weak]
    - Filesize:16950836 [weak]
   Last modification reported: Sun, 07 Jun 2020 19:31:30 +0000
   Release file created at: Sun, 07 Jun 2020 19:31:34 +0000
E: Failed to fetch store:/var/lib/apt/lists/partial/deb.parrot.sh_parrot_dists_rolling-security_main_binary-amd64_Packages.gz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:1595237 [weak]
    - SHA256:3ae9e45379e2da5c46f950ad303e3c13f471b883ace78ae1d273d63ef0575e8d
    - SHA1:5a9068b18a3019e5ed14962bb835fec496b3d2a9 [weak]
    - MD5Sum:8bafe6dc18edbea3a082e98bdc322840 [weak]
   Hashes of received file:
    - SHA256:8836b3d14df15c09fa91b5bbf5eb5cd77eb28b8b0467e951606c44c267d8115d
    - SHA1:5a9068b18a3019e5ed14962bb835fec496b3d2a9 [weak]
    - MD5Sum:8bafe6dc18edbea3a082e98bdc322840 [weak]
    - Filesize:1595237 [weak]
   Last modification reported: Sat, 30 May 2020 01:12:07 +0000
   Release file created at: Sat, 30 May 2020 01:12:08 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead. ```

I think I've already tried literally everything. Starting from an easy `sudo rm -rf /var/lib/apt/lists/*` and `apt clean` but same problem. I've tried changing the mirror list but also with that same error. 
`sudo apt -o Acquire::https::No-Cache=True -o Acquire::http::No-Cache=True update` don't work also. I've also tried to change connection with a one without a proxy, cleaned the lists directory but also with this attempt i was not lucky.

I think that also the "green turtle" icon on VirtualBox is not helping but i followed with attention this thread https://forums.virtualbox.org/viewtopic.php?f=6&t=90853&sid=dd153bd7f58ac95966ee195414bdf7a5&start=270#p476261 but yes, i deactivated all the linux subsystem e stuff on windows, turned off the hypervisorlaunchtype  but nothing.. the turtle still be there and I still have this frustrating problem of the mismatch of the hash.

Does someone have any clues?

[SOLVED]

Reinstalling Windows from scratch solved the problem.

Disabling hyper-v and then restart the host windows

Start cmd as admin
Type
bcdedit /set hypervisorlaunchtpye off
Press Enter
Restart

Didn’t worked, the only solution that worked was to reinstall windows form scratch…

it worked for me thanks

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.