GVM Install & setting on kali linux 2020.3 postgresql error fix

Firstly after installing Kali-Linux-2020-3 update & upgrade

You will get this error when you attempt to install gvm

Error: the default postgresql version is not 13 required by libgvmd Use pg_upgradecluster to upgrade your Postgres cluster Which then errors out “already on version 12”

FIX: list your clusters


and drop all clusters besides 13 cluster. eg:

sudo pg_dropcluster 12 main –stop

GVM versions

gsad: (‘gsad --version’)
gvmd: (‘gvmd --version’)
openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’)


Kali Linux 2020-3:
Kernel:5.9 (‘uname -a’)
Installation method / source:


A post was merged into an existing topic: GVM Install & setting on kali linux 2020.3

Thanks for posting this info. I have merged it into the existing topic about this PostgreSQL issue to have the info collected at one place.

Still i would suggest to get in contact with the Kali package maintainer at https://bugs.kali.org so that they can improve e.g. the message or the upgrading of the PostgreSQL cluster / version so that this GVM unrelated problem doesn’t affect your work with GVM.