Parrot Security 4.8 Having Trouble Updating and Upgrading SOLVED

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
3,681
Reaction score
1,963
Credits
21,897
I liked Parrot so much that I went ahead and installed it to my 500 GB WD HDD.

It's running ok but I'm getting a lot of errors when trying to upgrade it.
Anyone know how I can help the upgrade to work correctly?

Screenshot at 2020-04-16 13-38-58.png
 
Last edited:


I found the FAQ Parrot Documentation page on how to upgrade Parrot.

You have to run sudo parrot-upgrade


The upgrade only partially worked. I'm still getting failed to fetch:-

Any ideas?
 
Did you try the --fix-missing command option?

or perhaps try a different mirror if it was run and error still exists.
 
I checked the online Parrot Security documentation for the correct mirror.
I have the right mirrors in /etc/apt/sources.d/list so that's good.

It's not recommended to run apt-get.
 
I defer to the Parrot Community, as I am not familiar with this specialized distro that appers to be the opposite of Sid in may ways!
 
alex, hi :)

1. where does mirrors.mit.edu fit in? have you added that mirror?

2. what was the source command for that screenie?

wiz

Avagudweegend
 
Last edited:
alex, hi :)

1. where does mirrors.mit.edu fit in? have you added that mirror?

2. what was the source command for that sreenie?

wiz

Avagudweegend
No, I have not added that mirror and I probably won't because I don't want to break what I have.

According to the Parrot Security documentation my src's list should be this:

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

So I'm going to leave it at that.

I put in a post to the Parrot Community for support.
They are helping me with the problems that I'm having with updating/upgrading Parrot.
For some reason pkgs are being held back so I sent them screenshots.

Thanks guys for your help.:)
 
If anyone would like to run Parrot Security here's someof the links I've used to learn about Parrot Security 4.8:


Whatever you do, do "NOT" run apt-get on a Parrot system the documentation says not to.
If you want to upgrade Parrot run:
sudo parrot-upgrade

One more thing.
It might be a good idea to download the Kali Linux Penetration Testing Book.
"Kali Linux Revealed" First Edition


Now, if you decide to install Parrot and your in a dual or triple boot with other Linux distros here is a heads up.

The Debian installer that comes with Parrot regenerates the swap partitions of the other distros swap partitions that are on your Linux box.
When that happens it sometimes breaks the UUID in the /etc/fstab/ file and causes a start job to start running on a Debian system takes longer to boot than normal.

To fix that you have to run blkid and compare it to the output of your /etc/fstab/ file.
Compare what blkid has to your fstab file and edit it accordingly.

For example if blkid gives you:

/dev/sda/ UUID is 425eoff61733321
swap
/dev/sdb/ UUID is 67455fob229163
swap

But your fstab file returns:

/dev/sda/ UUID 425e0ff61733321
swap
/deb/sdb UUID 425ffe087944325
swap

Than you would change the 425ffe087944325 to 67455f0b229163 in nano or in any other text editor of your choice.

Upon changing the uuid that is correct in the output of blkid and upon reboot your Debian system should no longer give you the message that a start job is running and hold up the system for 1 minute and 30 seconds.

This has happened to me twice and this fix worked.
 
2. what was the source command for that screenie?

was it

Code:
sudo parrot-upgrade

... or other, if so, what?

1. where does mirrors.mit.edu fit in? have you added that mirror?

... you can see that it features prominently in your incomplete output in the screenshot, so i am wondering how it got there

cheers

wiz
 
was it

Code:
sudo parrot-upgrade

... or other, if so, what?



... you can see that it features prominently in your incomplete output in the screenshot, so i am wondering how it got there

cheers

wiz
Yes, I used sudo parrot-upgrade.
 
The team at the Parrot Community Support emailed me and said:

It's a simple repository redirection error. As you see the repository has https:// but the mirror doesn’t have SSL. So the redirection isn’t allowed. You can fix this by explicitly by specifying http:// in /etc/apt/sources.d/parrot.list
or change your mirror to http:// mirrors.mit.edu .

So....if I understand correctly I can use nano or vi to edit the /etc/apt/sources.d/parrot.list and manually change the mirror:-

Changing the mirror to deb http://mirrors.mit.edu/parrot/ rolling main contrib non-free worked!

After changing the mirror there were no more warnings, errors or pkgs being held back.
The next update and upgrade went smooth.

The default mirror should be changed but I'm not sure where to write to the devs.
 
Last edited:
Hi this commande does not work. Is my installation was broken? (Apt update with china depot)
sudo parrot-upgrade

this message when i do the command :
pauser01@parrot]─[~]
└──╼ $sudo parrot-upgrade
[sudo] password for pauser01:
sudo: parrot-upgrade: command not found
 

Attachments

  • Screenshot at 2022-04-08 06-00-12.png
    Screenshot at 2022-04-08 06-00-12.png
    1 MB · Views: 293
Open a terminal and just use

sudo parrot-upgrade

And your password
 
Last edited:

Members online


Latest posts

Top