Openvas-scanner and gvm-libs dependencies conflict

Hi there,

I recently built the latest version of openvas-scanner and gvm-libs from source and encountered the following error message:

The following packages have unmet dependencies:
 libcurl4-gnutls-dev : Conflicts: libcurl4-openssl-dev but 7.81.0-1ubuntu1.20 is to be installed
 libcurl4-openssl-dev : Conflicts: libcurl4-gnutls-dev but 7.81.0-1ubuntu1.20 is to be installed

It seems that gvm-libs requires libcurl4-openssl-dev as dependency, while openvas-scanner requires libcurl4-gnutls-dev, but we can’t install them simultaneously.

Are there any solutions for this, or is this an error and we need to update the source code?

I think you can just choose one. gvm-libs and OpenVAS scanner should work with both versions.

1 Like

for information, I created a GitHub PR to address this issue in gvm-libs Update dependencies by bjoernricks · Pull Request #868 · greenbone/gvm-libs · GitHub

4 Likes

Tried to use libcurl4-openssl-dev, and it works. But I have to switch to Ubuntu 24.04 since the libcurl version comes along with Ubuntu 22.04 does not match the requirement since this change.

For latest releases we require versions which are available in Debian Stable (currently bookworm). The source build guide still uses older releases of our software. When it gets updated it will require Ubuntu 24.04.

2 Likes