Briefly describe your issue below:
Installing any package (sway-backgrounds
in my case) using apt
sometimes fails due to https://deb.parrot.sh/ redirecting to unsecure http://mirror.truenetwork.ru/.
Apt sources in parrot.list:
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
Location: Finland
What version of Parrot are you running? (include version (e.g. 4.6), edition(e.g. Home//KDE/OVA, etc.), and architecture (currently we only support amd64)
Linux parrot 5.6.0-2parrot1-amd64 #1 SMP Debian 5.6.14-2parrot1 (2020-05-23) x86_64 GNU/Linux
Home edition.
What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)
Debian Standard.
Configured to multiboot with other systems? (yes / no)
No.
If there are any similar issues or solutions, link to them below:
If there are any error messages or relevant logs, post them below:
Error from apt:
Failed to fetch https://deb.parrot.sh/parrot/pool/main/s/sway/sway-backgrounds_1.4-2_all.deb Redirection from https to 'http://mirror.truenetwork.ru/parrot/pool/main/s/sway/sway-backgrounds_1.4-2_all.deb' is forbidden [IP: 104.27.130.193 443]
Example with wget (to prove that the issue is not with apt per se):
wget -v https://deb.parrot.sh/parrot/pool/main/s/sway/sway-backgrounds_1.4-2_all.deb
--2020-07-16 21:25:14-- https://deb.parrot.sh/parrot/pool/main/s/sway/sway-backgrounds_1.4-2_all.deb
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving deb.parrot.sh (deb.parrot.sh)... 104.27.131.193, 172.67.174.196, 104.27.130.193, ...
Connecting to deb.parrot.sh (deb.parrot.sh)|104.27.131.193|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirror.truenetwork.ru/parrot/pool/main/s/sway/sway-backgrounds_1.4-2_all.deb [following]
--2020-07-16 21:25:14-- http://mirror.truenetwork.ru/parrot/pool/main/s/sway/sway-backgrounds_1.4-2_all.deb
Resolving mirror.truenetwork.ru (mirror.truenetwork.ru)... 94.247.111.11, 94.247.111.12
Connecting to mirror.truenetwork.ru (mirror.truenetwork.ru)|94.247.111.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4821032 (4.6M) [application/octet-stream]
Saving to: ‘sway-backgrounds_1.4-2_all.deb.3’
sway-backgrounds_1.4-2_all 100%[=====================================>] 4.60M 4.59MB/s in 1.0s
2020-07-16 21:25:15 (4.59 MB/s) - ‘sway-backgrounds_1.4-2_all.deb.3’ saved [4821032/4821032]```