[Edited by Mod keeping main content]. Moving any current upgrade issues to this post. Please do not make new thread unless there is no upgrade/update thread open.
Hello everyone, I’m having issue while trying to upgrade my parrot.
When I try to upgrade using any option (like bellow)
apt-get upgrade
apt upgrade
apt dist-upgrade
apt full-upgrade
Redirection from https to 'http://sft.if.usp.br/parrot/pool/main/p/python-bleach/python3-bleach_3.1.2-0+deb10u1_all.deb' is forbidden [IP: 104.27.131.193 443]
Err:12 https://deb.parrot.sh/parrot rolling-security/main amd64 bluez-hcidump amd64 5.50-1.2~deb10u1
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/c/chromium/chromium_80.0.3987.149-1~deb10u1_amd64.deb Redirection from https to 'http://sft.if.usp.br/parrot/pool/main/c/chromium/chromium_80.0.3987.149-1~deb10u1_amd64.deb' is forbidden [IP: 104.27.131.193 443]
…content suppressed to make this post short…
TL;DR Trying to update I’ve receive this error message: Redirection from https to ‘http:…’ is forbidden
Version:
uname -a
Linux parrot 5.4.0-4parrot1-amd64 #1 SMP Parrot 5.4.19-4parrot1 (2020-02-27) x86_64 GNU/Linux.
I’ve read some other users have similar issues, and they were advice to stop anonsurf or adding another DNS server on resolv.conf.
**I’m NOT using anonsiurf, and never use it **
also I verified if I can resolve the FQDN properly:
host deb.parrot.sh
deb.parrot.sh has address 104.27.130.193
deb.parrot.sh has address 104.27.131.193
deb.parrot.sh has IPv6 address 2606:4700:3037::681b:83c1
deb.parrot.sh has IPv6 address 2606:4700:3033::681b:82c1
Apt sources list was just being updated on the servers (check docs.parrotlinux.org for current apt parrot.list) For now leaving upgrade/update questions in this thread as way too many posts were made today on essentially the same subject: update/forbidden errors. It confuses ppl.
Try parrot-upgrade command after making sure /etc/apt/sources.list.d/parrot.list is current with online docs.
I had similar issue, solved it yesterday. apt update didn’t work with anonsurf and couldn’t connect to clearnet even though I had an IP, resolvconf was fine, could ping to IPs but not URLs. Even though I tried several times to stop anonsurf.
The solution was to do: $ sudo anonsurf dns
I think it’s the same as selecting from the menu “AnonSurf-> Set/Unset OpenNIC DNS service” (but someone who knows better can correct me if I’m wrong).
After that you can go make your updates. Hope it helps.
Finally solved by removing all content of /etc/apt/sources.list.d/parrot.list and adding one of the repo from https://docs.parrotlinux.org/mirror-list/ other than that was already there
Did you see @sudipghimire comment? Clear parrot.sh ones from your
/etc/apt/sources.list.d/parrot.list file. Replace with current:
deb https://deb.parrotlinux.org/parrot/ rolling main contrib non-free
#deb-src https://deb.parrotlinux.org/parrot/ rolling main contrib non-free
deb https://deb.parrotlinux.org/parrot/ rolling-security main contrib non-free
#deb-src https://deb.parrotlinux.org/parrot/ rolling-security main contrib non-free
try parrot-upgrade again.
I am noticing most of the posts above mention parrot.sh. parrotlinux.org apt list should work even if you happen to see a few forbidden mirror responses during the upgrade. It should finish if you have updated the apt list before parrot-upgrade.
Remember to check docs for current apt list changes. Hope this works for you.
After spending the night looking for how to resolve this “Forbidden IP” error, I managed to add a specific repository.
I am Brazilian and not even the server that is hosted here was able to download the update repositories.
What I did, follow the steps.
nano /etc/apt/sources.list.d/parrot.list
erase everything that is written and paste this:
### Content of /etc/apt/sources.list.d/parrot.list:
deb https://deb.parrotlinux.org/parrot/ rolling main contrib non-free
#deb-src https://deb.parrotlinux.org/parrot/ rolling main contrib non-free
deb https://deb.parrotlinux.org/parrot/ rolling-security main contrib non-free
#deb-src https://deb.parrotlinux.org/parrot/ rolling-security main contrib non-free
deb https://deb.parrot.sh/parrot/ rolling main contrib non-free
#deb-src https://deb.parrot.sh/parrot/ rolling main contrib non-free
deb https://deb.parrot.sh/parrot/ rolling-security main contrib non-free
#deb-src https://deb.parrot.sh/parrot/ rolling-security main contrib non-free