itiligent / Easy-OpenVAS-Installer

GVM (aka OpenVAS) appliance install script, includes https:443 front end (self signed), authenticated SMB scanning , email report features & upgrade script
26 stars 4 forks source link

Installation fails due to missing libraries #3

Closed Franco-Sparrow closed 6 months ago

Franco-Sparrow commented 6 months ago

Hi, thanks for such a great job making this script.

The script fails at some point due to missing libraries. Installing these dependencies before the execution of the script, will fix the error.

apt install libjson-glib-dev libksba-dev libbison-dev
itiligent commented 6 months ago

thankyou for the info, could you please be more specific as I cant replicate your issue. Which script? (Docker or soure build? - assumes source build) At what point in the script does it fail? Any error messages? Fresh install, or dist upgrade? Othe apps or packages?

Franco-Sparrow commented 6 months ago

Hello

If I remember, it was compiling the openvas-scanner. I am using the script to build from source.

Once installed those libraries (before the execution of the script) , it will go fine. I am using the contextualized KVM image from OpenNebula Public MarketPlace. This KVM image is based in the Ubuntu 22.04.3 image.

https://marketplace.opennebula.io/appliance/4562be1a-4c11-4e9e-b60a-85a045f1de05

itiligent commented 6 months ago

Ok thankyou for the extra context. Given you are using a 3rd party image, there is potential for several variances in package contents despite claims of "based on" any particular distro. Unfortunately theres no practical way to address each and every variant without adding much more complextiy, bloat and other unintended issues. This sort of thing comes up occasionally, but I'm glad you sorted it out and shared it with others. Scripts are tested on native Debian and Ubuntu distros and work ok. I'm going to close without making any changes as I cant replicate this on supported base disto defaults.

Franco-Sparrow commented 6 months ago

@itiligent thanks to you for such a great job making this script. I have now GVM 22 without deal with the hard installation proccess.