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

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!