Parrotsec failed after upgrade!

Hello,
I update the Parrotsec but after it, The Parrotsec failed:

Setting up faraday (3.11.1-1parrot1) …
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> e61afb450465, Add custom f
ields
2020-08-17T10:35:19-0400 - faraday.manage - ERROR {MainThread} [manage.py:239 -
migrate()] Migration Error: (psycopg2.errors.UndefinedTable) relation “vulnerab
ility” does not exist

[SQL: ALTER TABLE vulnerability ADD COLUMN custom_fields JSONB]
(Background on this error at: http://sqlalche.me/e/13/f405)
Migration failed! (psycopg2.errors.UndefinedTable) relation “vulnerability” does
not exist

[SQL: ALTER TABLE vulnerability ADD COLUMN custom_fields JSONB]
(Background on this error at: http://sqlalche.me/e/13/f405)
dpkg: error processing package faraday (–configure):
installed faraday package post-installation script subprocess returned error ex
it status 1
dpkg: dependency problems prevent configuration of python-faraday:
python-faraday depends on faraday; however:
Package faraday is not configured yet.

dpkg: error processing package python-faraday (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
faraday
python-faraday
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)

Why?

Thank you.

what command did you use to update?
always use sudo parrot-upgrade
or
sudo apt update && apt full-upgrade

Please advise.

I used “sudo apt update && apt upgrade” .

Tried that with the same error.

Try adding a mirror in the sources list

/etc/apt/sources.list.d/parrot.list

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

1 Like

Works now. Thanks.

for this you can change the mirror to that of your nearest location

It shouldn’t did automatically?

Hello,
I changed the repo.list, but the problem came into being after some updates :frowning:
After update, I got the same error and some programs like “OpenVAS” removed automatically!

can you show what you have at
/etc/apt/sources.list.d/parrot.list

deb https://deb.parrot.sh/parrot/ rolling main contrib non-free
deb https://deb.parrot.sh/parrot/ rolling-security main contrib non-free

your repo is fine
there should not be any problem

1 Like

The easiest way to avoid being taken on the first update is to INSTALL gnome software center first and REBOOT! Use Software to update and reboot each time!

sudo apt install gnome-software

some other very useful software is firewalld (and firewall-config)

This OS should be called Insane Clowns not Parrot!

Get rid of GUFW it is a sad joke!

Why Gnome? The Desktop is MATE!!!

The installer is called gnome-software as the kernel it has nothing to do with the Desktop. Actually it is default for kde and gnome Desktops! Apt and synaptic are poor choices for kernel upgrades. It has been this way for at least 5-6 years. For a while apt-fast did work very well I don’t use it anymore… most likely the hackers found a flaw int that one too.

Can anyone tell me what is the name of update and upgrade commands of Parrotsec?

always use
sudo parrot-upgrade to upgrade your system
never use sudo apt-get update && sudo apt-get upgrade to upgrade the system

I totally and positively disagree with that statement. The OS is under attack and it will crack with apt! Hardware attack or other…

Use gnome-software tried and true by many beginning with the first iupdate!
sudo apt install gnome-software
REBOOT
Menu -> Software (pick Update Tab) Download if available. At the end hit Restart and Manually Restart (it will go through 2 reboots). This is my last posting on the subject. If you still insist on using apt for kernel and OS updates and it works, I will make you my official buyer of lottery tickets!

What does this do?