issue with apt-get upgrade Forbidden IP

When ever i use apt-get upgrade it doesn’t work. In the output log i see multiple errors saying
it cannot connect to a certain IP and it will not let me download and update
I’m running
4.8 KDE
I used Standard Debian to install
It’s not used on dual boot

Here’s the output log:
Do you want to continue? [Y/n] y
Get:1 https://mirrors.ocf.berkeley.edu/parrot rolling/main amd64 libkrb5support0 amd64 1.17-7 [64.4kB]
Get:2 https://ftp.osuosl.org/pub/parrotos rolling/main amd64 libwbclient0 amd64 2:4.11.5+dfsg-1+b1
[321 kB]
Err:4 https://deb.parrot.sh/parrot rolling/main amd64 cups-daemon amd64 2.3.1-11
Redirection from https to ‘http://mirrors.mit.edu/parrot/pool/main/c/cups/cups-daemon_2.3.1-11_amd64.deb’ is forbidden [IP: 104.27.131.193 443]
Get:3 https://ftp.osuosl.org/pub/parrotos rolling/main amd64 cups-ipp-utils amd64 2.3.1-11 [256 kB]
Get:5 https://mirrors.ocf.berkeley.edu/parrot rolling/main amd64 libcupsfilters1 amd64 1.27.3-1 [190 kB]
Err:6 https://deb.parrot.sh/parrot rolling/main amd64 cups-core-drivers amd64 2.3.1-11
Redirection from https to ‘http://mirrors.mit.edu/parrot/pool/main/c/cups/cups-core-drivers_2.3.1-11_amd64.deb’ is forbidden [IP: 104.27.131.193 443]
Get:7 https://ftp.osuosl.org/pub/parrotos rolling/main amd64 cups-client amd64 2.3.1-11 [240 kB]
Err:8 https://deb.parrot.sh/parrot rolling/main amd64 libgs9 amd64 9.52~dfsg-1
Redirection from https to ‘http://mirrors.mit.edu/parrot/pool/main/g/ghostscript/libgs9_9.52~dfsg-1_amd64.deb’ is forbidden [IP: 104.27.131.193 443]
Get:9 https://ftp.osuosl.org/pub/parrotos rolling/main amd64 libgs9-common all 9.52~dfsg-1 [732 kB]

Try this in order listed:

#1 make sure anonsurf/tor/blocked proxy is not running.

#2 you could (working as of this post) try this list (was on mirror page last week) in your /etc/apt/sources.list.d/parrot.list (back up the file if you like first):

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

#3 Avoid apt-get for rolling. After trying the list above, for safe trouble free upgrading use:

sudo parrot-upgrade

#4 if you try all those things in the order I listed, and still having issues… visit to see up to date mirror list/info:

https://docs.parrotsec.org/mirror-list/

1 Like

Had the exact problem. Change the repos in source list. I am currently using one from china. Worked like a charm.

Same as Junior, I use the MIT source and it work now,
Massachussetts MIT
deb http://mirrors.mit.edu/parrot/ rolling main contrib non-free

Had the exact problem. Change the repos in source list. I am currently using one from china. Worked like a charm.

A little correction: that is mirror change. The change source list might be add repo from other distro which causes error. There are new users don’t know that.

1 Like

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