How to Permanently fix 404 Errors During Update/Upgrade

Usually when I update I am met with a bunch of 404 errors. Here are today’s list:

E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/p/perl/perl-modules-5.32_5.32.1-4%2bdeb11u2
_all.deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/p/pam/libpam-modules-bin_1.4.0-9%2bdeb11u1_
amd64.deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/p/pam/libpam-modules_1.4.0-9%2bdeb11u1_amd6
4.deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/p/pam/libpam-runtime_1.4.0-9%2bdeb11u1_all.
deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/w/webkit2gtk/gir1.2-webkit2-4.0_2.34.0-1%7e
bpo11%2b1_amd64.deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/w/webkit2gtk/gir1.2-javascriptcoregtk-4.0_2
.34.0-1%7ebpo11%2b1_amd64.deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/w/webkit2gtk/libwebkit2gtk-4.0-37_2.34.0-1%
7ebpo11%2b1_amd64.deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/w/webkit2gtk/libjavascriptcoregtk-4.0-18_2.
34.0-1%7ebpo11%2b1_amd64.deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/n/nautilus/libnautilus-extension1a_3.38.2-1
%2bdeb11u1_amd64.deb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]
E: Failed to fetch https://mirror.parrot.sh/mirrors/parrot/pool/main/l/linux/linux-kbuild-5.10_5.10.70-1_amd64.d
eb  404  Not Found [IP: 2606:4700:3032::6815:3b65 443]

Once that happens the update fails and I have to start over.

I’ve tried running sudo apt full-upgrade --fix-missing but that’s what led to the above errors. So as of now I am unable to update system due to the 404 errors.

I’ve also tried sudo parrot-mirror-selector direct rolling and then sudo parrot-upgrade which seemed to fix it at the time, but it’s back to being down.

My sources list is as:

cat /etc/apt/sources.list.d/parrot.list

# parrot repository
# this file was automatically generated by parrot-mirror-selector
deb https://mirror.parrot.sh/mirrors/parrot/ rolling main contrib non-free
#deb-src https://mirror.parrot.sh/mirrors/parrot/ rolling main contrib non-free
deb https://mirror.parrot.sh/mirrors/parrot/ rolling-security main contrib non-free
#deb-src https://mirror.parrot.sh/mirrors/parrot/ rolling-security main contrib non-free

Is that wrong or is there something in there I can possibly delete or add?

Thanks for the help.

Hi. It might be quicker if you search for current issues others have posted in this community forum recently to get a quick fix.

Use a different mirror for your parrot.list. I know that the one in Italy is likely the primary mirror and gets the latest changes and updates. There have been rsync issues with some mirrors (like U.S. mirrors). So if your closest mirror is having syncing problems, parrot-mirror-selector isn’t going to help much, I think.

https://www.parrotsec.org/docs/mirrors-list.html

I was able to fix this issue by running the Anon Surf GUI before attempting the update/full-upgrade in the root terminal. I do not know why or how this resolved the problem, but it is not a mirror issue.