• We did not send an email asking for donations - please read this post.

Parrot Security 4.8 Having Trouble Updating and Upgrading SOLVED

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,386
Reaction score
1,164
Credits
12,524
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:


OP
Alexzee

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,386
Reaction score
1,164
Credits
12,524
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?
 

sp331yi

Well-Known Member
Joined
Apr 11, 2020
Messages
725
Reaction score
328
Credits
4,614
Did you try the --fix-missing command option?

or perhaps try a different mirror if it was run and error still exists.
 
OP
Alexzee

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,386
Reaction score
1,164
Credits
12,524
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.
 

sp331yi

Well-Known Member
Joined
Apr 11, 2020
Messages
725
Reaction score
328
Credits
4,614
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!
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,786
Reaction score
6,611
Credits
28,653
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:
OP
Alexzee

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,386
Reaction score
1,164
Credits
12,524
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.:)
 
OP
Alexzee

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,386
Reaction score
1,164
Credits
12,524
OP
Alexzee

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,386
Reaction score
1,164
Credits
12,524
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.
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,786
Reaction score
6,611
Credits
28,653
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
 
OP
Alexzee

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,386
Reaction score
1,164
Credits
12,524
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.
 
OP
Alexzee

Alexzee

Well-Known Member
Joined
Jun 1, 2019
Messages
2,386
Reaction score
1,164
Credits
12,524
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:

ThBLinux

New Member
Joined
Apr 8, 2022
Messages
1
Reaction score
0
Credits
7
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 :
[email protected]]─[~]
└──╼ $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: 88

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
3,137
Reaction score
2,028
Credits
23,350
Open a terminal and just use

sudo parrot-upgrade

And your password
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top