Sql error while installing gvm 21.4.2.0 Kali Linux

GVM versions

gsad: Greenbone Security Assistant 21.4.3
gvmd: Greenbone Vulnerability Manager 21.4.4
openvas-scanner: OpenVAS 21.4.2
gvm-libs: gvm-libs 21.4.2

Environment

Operating system: Kali Linux
Kernel: Linux kali1 5.14.0-kali2-amd64 #1 SMP Debian 5.14.9-2kali1 (2021-10-04) x86_64 GNU/Linux
Installation method / source: apt install gvm, gvm-setup

Hello everyone. When installing gvm on a clean Kali Linux. An SQL error occurs. Before that, I updated the clusters pg_upgradecluster 13 to 14. Tell me what is the problem?

This problem might to be originating from an issue in the Kali packages according to 0007433: GVM is not installed - Kali Linux Bug Tracker :

FTR the postrgresql packages come from Debian Testing and the packages required for gvmd did not migrate at the same time in Debian Testing so in Kali too.

and seems to have been solved in Kali with:

I will update the gvmd package for postgresql version 14 to fix this

I have updated the package. Please update your system.
The fixed versions are:

  • gvmd version 21.4.4-0kali2
  • postgresql-common version 231

You may need to upgrade the postgresql clusters to version 14 (see “/usr/share/doc/postgresql-common/README.Debian.gz”, section “Default clusters and upgrading” for details)

1 Like