Update-Parrot being blocked?

Just downloaded, burned and installed the newest ISO. The only change I did, after installation, were: sudo rm /etc/resolv.conf, then: sudo cp /etc/resolv.conf.head /etc/resolv.conf, to change to Parrot dns. Then I ran sudo parrot-upgrade, and got the following termial message. I haven’t made any router changes. Internet works fine, I’m posting with it now. Any Ideas?


What version of Parrot are you running? (Home, 4.5, Amdx64

What method did you use to install Parrot? (Debian Standard)

Configured to multiboot with other systems? (no)

If there are any error messages or relevant logs, post them below:

┌─[hufp4792@parrot]─[~]
└──╼ $sudo parrot-upgrade
[sudo] password for hufp4792:
Err:1 http://deb.parrotsec.org/parrot parrot InRelease
Something wicked happened resolving ‘attlocal.net:http’ (-5 - No address associated with hostname)
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
W: Failed to fetch http://deb.parrotsec.org/parrot/dists/parrot/InRelease Something wicked happened resolving ‘attlocal.net:http’ (-5 - No address associated with hostname)
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
┌─[hufp4792@parrot]─[~]
└──╼ $

This is a bug from Debian package. I believe quick fix for https://www.linux.com/news/remote-code-execution-aptapt-get caused this problem. Luckily latest apt package from repository fixed this problem on my system (main repository was still useable). If you are not able to update and upgrade your system, you must download apt.deb from Parrot repository and install it manually using dpkg. I promise latest version of apt was fixed.
My apt version:

 $apt show apt
Package: apt
Version: 1.8.0~rc2

P/s: as your information, you installed Parrot Home 4.5 amd64 and homepage version is 4.5.1. Can you show us your kernel + apt version again? If your iso file is latest build of Parrot OS so i hope @palinuro can update new iso build.

i’ve downloaded latest version (4.5.1 home amd64) on parrotsec.org. apt worked fine. Bug in apt version was just few days ago and it doesn’t affected apt in iso file.

Thank you. I did that and that problem was fixed

I’m sorry, I missed some of your information. I have Package: apt
Version: 1.8.0~beta1. And this is 4.5.1 iso. Maybe I will try downloading it again, and check the apt version again. Thanks again.

4.5.1 still has Package: apt Version: 1.8.0~beta1. I cannot seem to figure out where to download apt.deb from Anybody help me find that?

http://deb.parrotsec.org/parrot/pool/main/a/apt/

Thank you for the link, and for your time.

1 Like

so I am a bit at a loss on this - I also have the “bug” it would seem:

after noticing several programs no longer working properly, I tried to check for updates/upgrades

sudo parrot-upgrade
[sudo] password for dan007:
Err:1 http://deb.parrotsec.org/parrot parrot InRelease
Something wicked happened resolving ‘deb.parrotsec.org:http’ (-5 - No address associated with hostname)

apt show apt
Package: apt
Version: 1.8.0~beta1

so can someone give me a clue what the command line fix to this?

Please Disregard - I have managed to get it fixed.

I switched to apt-fast a while ago and no more poisoned updates or problems. See Github!