View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008472 | Kali Linux | Tool Upgrade Request | public | 2023-09-23 13:51 | 2024-01-24 06:11 |
Reporter | micsec | Assigned To | sbrun | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0008472: Greenbone - Openvas - GVMD - incompatible library "/usr/lib/libgvm-pg-server.so": version mismatch | ||||
Description | After upgrading to postgresql 16, gvmd requires pg_upgradecluster from v15 to v16. So I run But I get some errors ERROR: extension "pg-gvm" is not available It seems that some packages required for gvmd are not yet migrated. | ||||
I'm seeing the errors below trying to install a new machine. Probably related. [*] Creating extension pg-gvm (gvmd:1610): md manage-WARNING **: 17:17:21.751: check_db_extensions: A required extension is not available. (gvmd:1610): md manage-WARNING *: 17:17:21.751: init_manage_create_functions: failed to create functions |
|
I have uploaded a fix: gvmd version 22.9.0-0kali4 (it installs postgresql-16-pg-gvm version 22.6.2-1kali1 too). |
|
Even in the Kali weekly build (2023 week 32) with fully upgraded packages, PostgreSQL-15 is installed and occupying port 5432: ┌──(kali㉿kali)-[~] So while the need to migrate to PostgreSQL is indeed on the forecast, it is not a hard requirement for now. Seems the problem is the definition of the required PostgreSQL version is set to 16 in the file: /usr/share/gvmd/postgresql-version. At least something like the following in the gvm-setup script would allow the current PG version on port 5432 to be used, no matter what version it was. pg_lsclusters --no-header | awk '$3 == "5432" { print $1 }' > /tmp/postgresql-version |
|
postgresql-16-pg-gvm is now available, so please make sure to perform an update and a full-upgrade via apt |
|
After the updates I upgraded the postgresql15 cluster -> 16 without any errors. Thanks a lot sbrun! |
|
Thank you very much sbrun!! GVM has installed OK in our systems since last update |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-09-23 13:51 | micsec | New Issue | |
2023-09-24 15:48 | AlexSN | Note Added: 0018503 | |
2023-09-25 12:20 | sbrun | Assigned To | => sbrun |
2023-09-25 12:20 | sbrun | Status | new => assigned |
2023-09-25 17:04 | sbrun | Note Added: 0018505 | |
2023-09-25 19:18 | sectr | Note Added: 0018506 | |
2023-09-25 19:18 | sectr | Note Edited: 0018506 | |
2023-09-25 19:19 | sectr | Note Edited: 0018506 | |
2023-09-25 19:20 | X0RW3LL | Note Added: 0018507 | |
2023-09-26 05:15 | micsec | Note Added: 0018508 | |
2023-09-26 08:46 | AlexSN | Note Added: 0018509 | |
2023-09-27 07:41 | sbrun | Status | assigned => resolved |
2023-09-27 07:41 | sbrun | Resolution | open => fixed |