Closed Fr33ksta closed 1 month ago
What steps have you taken to troublshoot? There have been cosmetic script changes but none should relate to script funtion. I tested things earlier this weeek and all was good. When you run the script it will display whast versions of each module it will download. This is the first place to look for issues or errors. After checking the above, next thing to try is to roll back a version. Look into the script for the links to each module overrides. Try forcing gvm libs to the 2nd last version 22.9.1 and see what happens.
Cool, that got passed the long pause... however still having an issue completing from Hyper-V VM
This is weird, cause this was the best stable install I worked with so quick as well... which was appreciated...
Yes, GVM is a pain to install and most tutorials for installing this are rubbish. Also, the GVM community docs are not always accurate or complete - they are there to sell enterprise stuff afterall. The scripts is a slight enhancement to the missing parts in the official docs.
A few points:
# Download the gvm-libs sources
export GVM_LIBS_VERSION=$GVM_LIBS_VERSION
curl -f -L https://github.com/greenbone/gvm-libs/archive/refs/tags/v$GVM_LIBS_VERSION.tar.gz -o $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz
curl -f -L https://github.com/greenbone/gvm-libs/releases/download/v$GVM_LIBS_VERSION/gvm-libs-v$GVM_LIBS_VERSION.tar.gz.asc -o $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz.asc
gpg --verify $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz.asc $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz
echo tar -C $SOURCE_DIR -xvzf $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz mkdir -p $BUILD_DIR/gvm-libs && cd $BUILD_DIR/gvm-libs cmake $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION \ -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \ -DCMAKE_BUILD_TYPE=Release \ -DSYSCONFDIR=/etc \ -DLOCALSTATEDIR=/var make -j$(nproc)
mkdir -p $INSTALL_DIR/gvm-libs make DESTDIR=$INSTALL_DIR/gvm-libs install sudo cp -rv $INSTALL_DIR/gvm-libs/* /
Heres proof it works ( so something at your end not quite the same maybe?)
david@u22:~$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
############################################################################### Checking latest OpenVAS releases - edit script to manually force a version ###############################################################################
Latest OpenVAS releases will be installed by default: OPENVAS_SCANNER_VERSION=23.8.5 GSA_VERSION=23.2.1 GVM_LIBS_VERSION=22.10.0 GSAD_VERSION=22.11.0 OPENVAS_SMB_VERSION=22.5.6 PG_GVM_VERSION=22.6.5 GVMD_VERSION=23.8.1 OSPD_OPENVAS_VERSION=22.7.1 OPENVAS_DAEMON=23.8.5
############################################################################### Building & installing gvm-libs 22.10.0 ###############################################################################
gvm-libs dependencies installed successfully...
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 316k 0 316k 0 0 299k 0 --:--:-- 0:00:01 --:--:-- 299k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 833 100 833 0 0 525 0 0:00:01 0:00:01 --:--:-- 0 gpg: Signature made Fri 14 Jun 2024 12:09:22 PM UTC gpg: using RSA key 8AE4BE429B60A59B311C2E739823FAA60ED1E580 gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: Good signature from "Greenbone Community Feed integrity key" [ultimate]
gvm-libs-22.10.0/ gvm-libs-22.10.0/.clang-format gvm-libs-22.10.0/.codecov.yml gvm-libs-22.10.0/.docker/ gvm-libs-22.10.0/.docker/build.Dockerfile gvm-libs-22.10.0/.docker/prod-oldstable.Dockerfile gvm-libs-22.10.0/.docker/prod-testing.Dockerfile gvm-libs-22.10.0/.docker/prod.Dockerfile gvm-libs-22.10.0/.dockerignore gvm-libs-22.10.0/.github/ gvm-libs-22.10.0/.github/CODEOWNERS gvm-libs-22.10.0/.github/ISSUE_TEMPLATE/ gvm-libs-22.10.0/.github/ISSUE_TEMPLATE/bug-report.md gvm-libs-22.10.0/.github/ISSUE_TEMPLATE/config.yml gvm-libs-22.10.0/.github/dependabot.yml gvm-libs-22.10.0/.github/enhance_version.sh gvm-libs-22.10.0/.github/install-dependencies.sh gvm-libs-22.10.0/.github/sign-assets.sh gvm-libs-22.10.0/.github/workflows/ gvm-libs-22.10.0/.github/workflows/build-container.yml gvm-libs-22.10.0/.github/workflows/build-docs.yml gvm-libs-22.10.0/.github/workflows/ci-c.yml gvm-libs-22.10.0/.github/workflows/codeql-analysis-c.yml gvm-libs-22.10.0/.github/workflows/container.yml gvm-libs-22.10.0/.github/workflows/conventional-commits.yml gvm-libs-22.10.0/.github/workflows/dependency-review.yml gvm-libs-22.10.0/.github/workflows/release.yml gvm-libs-22.10.0/.github/workflows/sbom-upload.yml gvm-libs-22.10.0/.gitignore gvm-libs-22.10.0/.mergify.yml gvm-libs-22.10.0/CHANGELOG.md gvm-libs-22.10.0/CMakeLists.txt gvm-libs-22.10.0/COPYING gvm-libs-22.10.0/INSTALL.md gvm-libs-22.10.0/README.md gvm-libs-22.10.0/VERSION.in gvm-libs-22.10.0/base/ gvm-libs-22.10.0/base/CMakeLists.txt gvm-libs-22.10.0/base/array.c gvm-libs-22.10.0/base/array.h gvm-libs-22.10.0/base/array_tests.c gvm-libs-22.10.0/base/credentials.c gvm-libs-22.10.0/base/credentials.h gvm-libs-22.10.0/base/cvss.c gvm-libs-22.10.0/base/cvss.h gvm-libs-22.10.0/base/cvss_tests.c gvm-libs-22.10.0/base/drop_privileges.c gvm-libs-22.10.0/base/drop_privileges.h gvm-libs-22.10.0/base/gvm_sentry.c gvm-libs-22.10.0/base/gvm_sentry.h gvm-libs-22.10.0/base/hosts.c gvm-libs-22.10.0/base/hosts.h gvm-libs-22.10.0/base/hosts_tests.c gvm-libs-22.10.0/base/libgvm_base.pc.in gvm-libs-22.10.0/base/logging.c gvm-libs-22.10.0/base/logging.h gvm-libs-22.10.0/base/networking.c gvm-libs-22.10.0/base/networking.h gvm-libs-22.10.0/base/networking_tests.c gvm-libs-22.10.0/base/nvti.c gvm-libs-22.10.0/base/nvti.h gvm-libs-22.10.0/base/nvti_tests.c gvm-libs-22.10.0/base/pidfile.c gvm-libs-22.10.0/base/pidfile.h gvm-libs-22.10.0/base/prefs.c gvm-libs-22.10.0/base/prefs.h gvm-libs-22.10.0/base/proctitle.c gvm-libs-22.10.0/base/proctitle.h gvm-libs-22.10.0/base/pwpolicy.c gvm-libs-22.10.0/base/pwpolicy.h gvm-libs-22.10.0/base/settings.c gvm-libs-22.10.0/base/settings.h gvm-libs-22.10.0/base/strings.c gvm-libs-22.10.0/base/strings.h gvm-libs-22.10.0/base/version.c gvm-libs-22.10.0/base/version.h gvm-libs-22.10.0/base/version_tests.c gvm-libs-22.10.0/boreas/ gvm-libs-22.10.0/boreas/CMakeLists.txt gvm-libs-22.10.0/boreas/alivedetection.c gvm-libs-22.10.0/boreas/alivedetection.h gvm-libs-22.10.0/boreas/alivedetection_tests.c gvm-libs-22.10.0/boreas/arp.c gvm-libs-22.10.0/boreas/arp.h gvm-libs-22.10.0/boreas/boreas_error.c gvm-libs-22.10.0/boreas/boreas_error.h gvm-libs-22.10.0/boreas/boreas_error_tests.c gvm-libs-22.10.0/boreas/boreas_io.c gvm-libs-22.10.0/boreas/boreas_io.h gvm-libs-22.10.0/boreas/boreas_io_tests.c gvm-libs-22.10.0/boreas/cli.c gvm-libs-22.10.0/boreas/cli.h gvm-libs-22.10.0/boreas/cli_tests.c gvm-libs-22.10.0/boreas/libgvm_boreas.pc.in gvm-libs-22.10.0/boreas/ping.c gvm-libs-22.10.0/boreas/ping.h gvm-libs-22.10.0/boreas/ping_tests.c gvm-libs-22.10.0/boreas/sniffer.c gvm-libs-22.10.0/boreas/sniffer.h gvm-libs-22.10.0/boreas/sniffer_tests.c gvm-libs-22.10.0/boreas/util.c gvm-libs-22.10.0/boreas/util.h gvm-libs-22.10.0/boreas/util_tests.c gvm-libs-22.10.0/changelog.toml gvm-libs-22.10.0/changelog/ gvm-libs-22.10.0/changelog/v22.4.0.md gvm-libs-22.10.0/doc/ gvm-libs-22.10.0/doc/CMakeLists.txt gvm-libs-22.10.0/doc/Doxyfile.in gvm-libs-22.10.0/doc/Doxyfile_full.in gvm-libs-22.10.0/doc/Doxyfile_xml.in gvm-libs-22.10.0/gmp/ gvm-libs-22.10.0/gmp/CMakeLists.txt gvm-libs-22.10.0/gmp/gmp.c gvm-libs-22.10.0/gmp/gmp.h gvm-libs-22.10.0/gmp/libgvm_gmp.pc.in gvm-libs-22.10.0/osp/ gvm-libs-22.10.0/osp/CMakeLists.txt gvm-libs-22.10.0/osp/libgvm_osp.pc.in gvm-libs-22.10.0/osp/osp.c gvm-libs-22.10.0/osp/osp.h gvm-libs-22.10.0/osp/osp_tests.c gvm-libs-22.10.0/tests/ gvm-libs-22.10.0/tests/CMakeLists.txt gvm-libs-22.10.0/tests/test-hosts.c gvm-libs-22.10.0/util/ gvm-libs-22.10.0/util/CMakeLists.txt gvm-libs-22.10.0/util/authutils.c gvm-libs-22.10.0/util/authutils.h gvm-libs-22.10.0/util/compressutils.c gvm-libs-22.10.0/util/compressutils.h gvm-libs-22.10.0/util/fileutils.c gvm-libs-22.10.0/util/fileutils.h gvm-libs-22.10.0/util/gpgmeutils.c gvm-libs-22.10.0/util/gpgmeutils.h gvm-libs-22.10.0/util/kb.c gvm-libs-22.10.0/util/kb.h gvm-libs-22.10.0/util/ldaputils.c gvm-libs-22.10.0/util/ldaputils.h gvm-libs-22.10.0/util/libgvm_util.pc.in gvm-libs-22.10.0/util/mqtt.c gvm-libs-22.10.0/util/mqtt.h gvm-libs-22.10.0/util/nvticache.c gvm-libs-22.10.0/util/nvticache.h gvm-libs-22.10.0/util/passwordbasedauthentication.c gvm-libs-22.10.0/util/passwordbasedauthentication.h gvm-libs-22.10.0/util/passwordbasedauthentication_tests.c gvm-libs-22.10.0/util/radiusutils.c gvm-libs-22.10.0/util/radiusutils.h gvm-libs-22.10.0/util/serverutils.c gvm-libs-22.10.0/util/serverutils.h gvm-libs-22.10.0/util/sshutils.c gvm-libs-22.10.0/util/sshutils.h gvm-libs-22.10.0/util/uuidutils.c gvm-libs-22.10.0/util/uuidutils.h gvm-libs-22.10.0/util/xmlutils.c gvm-libs-22.10.0/util/xmlutils.h gvm-libs-22.10.0/util/xmlutils_tests.c -- Configuring the Greenbone Vulnerability Management Libraries... -- The C compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Git: /usr/bin/git (found version "2.34.1") -- Looking for clang-format... -- clang-format not found... -- Using redis socket /run/redis/redis.sock -- Install prefix: /usr/local -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'glib-2.0>=2.42' -- Found glib-2.0, version 2.72.4 -- Looking for libnet... -- Looking for net... /usr/lib/x86_64-linux-gnu/libnet.so -- Looking for libnet-config... -- Looking for libnet-config... /usr/bin/libnet-config -- Looking for pcap... -- Looking for pcap... /usr/lib/x86_64-linux-gnu/libpcap.so -- Looking for pcap-config... -- Looking for pcap-config... /usr/bin/pcap-config -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for module 'zlib>=1.2.8' -- Found zlib, version 1.2.11 -- Checking for module 'gio-2.0>=2.42' -- Found gio-2.0, version 2.72.4 -- Checking for module 'gnutls>=3.2.15' -- Found gnutls, version 3.7.3 -- Checking for module 'uuid>=2.25.0' -- Found uuid, version 2.37.2 -- Checking for module 'libssh>=0.6.0' -- Found libssh, version 0.9.6 -- Checking for module 'hiredis>=0.10.1' -- Found hiredis, version 0.14.1 -- Checking for module 'libxml-2.0>=2.0' -- Found libxml-2.0, version 2.9.13 -- Checking for module 'gpgme>=1.7.0' -- Found gpgme, version 1.16.0 -- Checking for module 'libgcrypt' -- Found libgcrypt, version 1.9.4 -- Looking for paho-mqtt3c ... /usr/lib/x86_64-linux-gnu/libpaho-mqtt3c.so -- Looking for libcrypt... -- Looking for libcrypt... /usr/lib/x86_64-linux-gnu/libcrypt.so -- Looking for freeradius-client library... -- Looking for radcli library... -- Found /usr/lib/x86_64-linux-gnu/libradcli.so - radius support enabled -- Looking for libldap... -- Found /usr/lib/x86_64-linux-gnu/libldap.so - ldap support enabled -- Found Doxygen: /usr/bin/doxygen (found version "1.9.1") found components: doxygen dot -- Configuring done -- Generating done -- Build files have been written to: /home/david/build/gvm-libs [ 4%] Building C object util/CMakeFiles/gvm_util_shared.dir/passwordbasedauthentication.c.o [ 4%] Building C object base/CMakeFiles/gvm_base_shared.dir/array.c.o [ 6%] Building C object base/CMakeFiles/gvm_base_shared.dir/credentials.c.o [ 9%] Building C object base/CMakeFiles/gvm_base_shared.dir/cvss.c.o [ 11%] Building C object util/CMakeFiles/gvm_util_shared.dir/compressutils.c.o [ 13%] Building C object util/CMakeFiles/gvm_util_shared.dir/fileutils.c.o [ 15%] Building C object util/CMakeFiles/gvm_util_shared.dir/gpgmeutils.c.o [ 18%] Building C object base/CMakeFiles/gvm_base_shared.dir/drop_privileges.c.o [ 20%] Building C object base/CMakeFiles/gvm_base_shared.dir/hosts.c.o [ 22%] Building C object util/CMakeFiles/gvm_util_shared.dir/kb.c.o [ 25%] Building C object util/CMakeFiles/gvm_util_shared.dir/ldaputils.c.o [ 27%] Building C object base/CMakeFiles/gvm_base_shared.dir/logging.c.o [ 29%] Building C object util/CMakeFiles/gvm_util_shared.dir/nvticache.c.o [ 31%] Building C object base/CMakeFiles/gvm_base_shared.dir/networking.c.o [ 34%] Building C object util/CMakeFiles/gvm_util_shared.dir/mqtt.c.o [ 36%] Building C object util/CMakeFiles/gvm_util_shared.dir/radiusutils.c.o [ 38%] Building C object base/CMakeFiles/gvm_base_shared.dir/nvti.c.o [ 40%] Building C object util/CMakeFiles/gvm_util_shared.dir/serverutils.c.o [ 43%] Building C object base/CMakeFiles/gvm_base_shared.dir/pidfile.c.o [ 45%] Building C object util/CMakeFiles/gvm_util_shared.dir/sshutils.c.o [ 47%] Building C object base/CMakeFiles/gvm_base_shared.dir/prefs.c.o [ 50%] Building C object util/CMakeFiles/gvm_util_shared.dir/uuidutils.c.o [ 54%] Building C object util/CMakeFiles/gvm_util_shared.dir/xmlutils.c.o [ 54%] Building C object base/CMakeFiles/gvm_base_shared.dir/proctitle.c.o [ 56%] Building C object base/CMakeFiles/gvm_base_shared.dir/pwpolicy.c.o [ 59%] Building C object base/CMakeFiles/gvm_base_shared.dir/gvm_sentry.c.o [ 61%] Building C object base/CMakeFiles/gvm_base_shared.dir/settings.c.o [ 63%] Building C object base/CMakeFiles/gvm_base_shared.dir/strings.c.o [ 65%] Building C object base/CMakeFiles/gvm_base_shared.dir/version.c.o [ 68%] Linking C shared library libgvm_base.so [ 70%] Linking C shared library libgvm_util.so [ 70%] Built target gvm_base_shared [ 72%] Building C object osp/CMakeFiles/gvm_osp_shared.dir/osp.c.o [ 72%] Built target gvm_util_shared [ 75%] Building C object gmp/CMakeFiles/gvm_gmp_shared.dir/gmp.c.o [ 77%] Linking C shared library libgvm_osp.so [ 77%] Built target gvm_osp_shared [ 79%] Building C object boreas/CMakeFiles/gvm_boreas_shared.dir/alivedetection.c.o [ 81%] Linking C shared library libgvm_gmp.so [ 81%] Built target gvm_gmp_shared [ 84%] Building C object boreas/CMakeFiles/gvm_boreas_shared.dir/arp.c.o [ 86%] Building C object boreas/CMakeFiles/gvm_boreas_shared.dir/boreas_error.c.o [ 88%] Building C object boreas/CMakeFiles/gvm_boreas_shared.dir/boreas_io.c.o [ 90%] Building C object boreas/CMakeFiles/gvm_boreas_shared.dir/cli.c.o [ 93%] Building C object boreas/CMakeFiles/gvm_boreas_shared.dir/ping.c.o [ 95%] Building C object boreas/CMakeFiles/gvm_boreas_shared.dir/sniffer.c.o [ 97%] Building C object boreas/CMakeFiles/gvm_boreas_shared.dir/util.c.o [100%] Linking C shared library libgvm_boreas.so [100%] Built target gvm_boreas_shared Consolidate compiler generated dependencies of target gvm_base_shared [ 38%] Built target gvm_base_shared Consolidate compiler generated dependencies of target gvm_util_shared [ 70%] Built target gvm_util_shared Consolidate compiler generated dependencies of target gvm_boreas_shared [ 90%] Built target gvm_boreas_shared Consolidate compiler generated dependencies of target gvm_osp_shared [ 95%] Built target gvm_osp_shared Consolidate compiler generated dependencies of target gvm_gmp_shared [100%] Built target gvm_gmp_shared Install the project... -- Install configuration: "Release" -- Installing: /home/david/install/gvm-libs/run/gvm -- Installing: /home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_base.pc -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_base.so.22.10.0 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_base.so.22 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_base.so -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/array.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/credentials.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/cvss.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/drop_privileges.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/hosts.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/logging.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/networking.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/nvti.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/pidfile.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/prefs.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/proctitle.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/pwpolicy.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/gvm_sentry.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/settings.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/strings.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/base/version.h -- Installing: /home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_boreas.pc -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_boreas.so.22.10.0 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_boreas.so.22 -- Set runtime path of "/home/david/install/gvm-libs/usr/local/lib/libgvm_boreas.so.22.10.0" to "" -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_boreas.so -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/boreas/alivedetection.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/boreas/arp.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/boreas/boreas_error.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/boreas/boreas_io.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/boreas/cli.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/boreas/ping.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/boreas/sniffer.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/boreas/util.h -- Installing: /home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_util.pc -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_util.so.22.10.0 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_util.so.22 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_util.so -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/passwordbasedauthentication.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/authutils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/compressutils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/fileutils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/gpgmeutils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/kb.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/ldaputils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/nvticache.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/mqtt.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/radiusutils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/serverutils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/sshutils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/uuidutils.h -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/util/xmlutils.h -- Installing: /home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_osp.pc -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_osp.so.22.10.0 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_osp.so.22 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_osp.so -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/osp/osp.h -- Installing: /home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_gmp.pc -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_gmp.so.22.10.0 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_gmp.so.22 -- Installing: /home/david/install/gvm-libs/usr/local/lib/libgvm_gmp.so -- Installing: /home/david/install/gvm-libs/usr/local/include/gvm/gmp/gmp.h '/home/david/install/gvm-libs/run/gvm' -> '/run/gvm' '/home/david/install/gvm-libs/usr/local/lib/pkgconfig' -> '/usr/local/lib/pkgconfig' '/home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_base.pc' -> '/usr/local/lib/pkgconfig/libgvm_base.pc' '/home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_boreas.pc' -> '/usr/local/lib/pkgconfig/libgvm_boreas.pc' '/home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_util.pc' -> '/usr/local/lib/pkgconfig/libgvm_util.pc' '/home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_osp.pc' -> '/usr/local/lib/pkgconfig/libgvm_osp.pc' '/home/david/install/gvm-libs/usr/local/lib/pkgconfig/libgvm_gmp.pc' -> '/usr/local/lib/pkgconfig/libgvm_gmp.pc' '/home/david/install/gvm-libs/usr/local/lib/libgvm_base.so.22.10.0' -> '/usr/local/lib/libgvm_base.so.22.10.0' '/home/david/install/gvm-libs/usr/local/lib/libgvm_base.so.22' -> '/usr/local/lib/libgvm_base.so.22' '/home/david/install/gvm-libs/usr/local/lib/libgvm_base.so' -> '/usr/local/lib/libgvm_base.so' '/home/david/install/gvm-libs/usr/local/lib/libgvm_boreas.so.22.10.0' -> '/usr/local/lib/libgvm_boreas.so.22.10.0' '/home/david/install/gvm-libs/usr/local/lib/libgvm_boreas.so.22' -> '/usr/local/lib/libgvm_boreas.so.22' '/home/david/install/gvm-libs/usr/local/lib/libgvm_boreas.so' -> '/usr/local/lib/libgvm_boreas.so' '/home/david/install/gvm-libs/usr/local/lib/libgvm_util.so.22.10.0' -> '/usr/local/lib/libgvm_util.so.22.10.0' '/home/david/install/gvm-libs/usr/local/lib/libgvm_util.so.22' -> '/usr/local/lib/libgvm_util.so.22' '/home/david/install/gvm-libs/usr/local/lib/libgvm_util.so' -> '/usr/local/lib/libgvm_util.so' '/home/david/install/gvm-libs/usr/local/lib/libgvm_osp.so.22.10.0' -> '/usr/local/lib/libgvm_osp.so.22.10.0' '/home/david/install/gvm-libs/usr/local/lib/libgvm_osp.so.22' -> '/usr/local/lib/libgvm_osp.so.22' '/home/david/install/gvm-libs/usr/local/lib/libgvm_osp.so' -> '/usr/local/lib/libgvm_osp.so' '/home/david/install/gvm-libs/usr/local/lib/libgvm_gmp.so.22.10.0' -> '/usr/local/lib/libgvm_gmp.so.22.10.0' '/home/david/install/gvm-libs/usr/local/lib/libgvm_gmp.so.22' -> '/usr/local/lib/libgvm_gmp.so.22' '/home/david/install/gvm-libs/usr/local/lib/libgvm_gmp.so' -> '/usr/local/lib/libgvm_gmp.so' '/home/david/install/gvm-libs/usr/local/include/gvm' -> '/usr/local/include/gvm' '/home/david/install/gvm-libs/usr/local/include/gvm/base' -> '/usr/local/include/gvm/base' '/home/david/install/gvm-libs/usr/local/include/gvm/base/array.h' -> '/usr/local/include/gvm/base/array.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/credentials.h' -> '/usr/local/include/gvm/base/credentials.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/cvss.h' -> '/usr/local/include/gvm/base/cvss.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/drop_privileges.h' -> '/usr/local/include/gvm/base/drop_privileges.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/hosts.h' -> '/usr/local/include/gvm/base/hosts.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/logging.h' -> '/usr/local/include/gvm/base/logging.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/networking.h' -> '/usr/local/include/gvm/base/networking.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/nvti.h' -> '/usr/local/include/gvm/base/nvti.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/pidfile.h' -> '/usr/local/include/gvm/base/pidfile.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/prefs.h' -> '/usr/local/include/gvm/base/prefs.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/proctitle.h' -> '/usr/local/include/gvm/base/proctitle.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/pwpolicy.h' -> '/usr/local/include/gvm/base/pwpolicy.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/gvm_sentry.h' -> '/usr/local/include/gvm/base/gvm_sentry.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/settings.h' -> '/usr/local/include/gvm/base/settings.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/strings.h' -> '/usr/local/include/gvm/base/strings.h' '/home/david/install/gvm-libs/usr/local/include/gvm/base/version.h' -> '/usr/local/include/gvm/base/version.h' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas' -> '/usr/local/include/gvm/boreas' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas/alivedetection.h' -> '/usr/local/include/gvm/boreas/alivedetection.h' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas/arp.h' -> '/usr/local/include/gvm/boreas/arp.h' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas/boreas_error.h' -> '/usr/local/include/gvm/boreas/boreas_error.h' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas/boreas_io.h' -> '/usr/local/include/gvm/boreas/boreas_io.h' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas/cli.h' -> '/usr/local/include/gvm/boreas/cli.h' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas/ping.h' -> '/usr/local/include/gvm/boreas/ping.h' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas/sniffer.h' -> '/usr/local/include/gvm/boreas/sniffer.h' '/home/david/install/gvm-libs/usr/local/include/gvm/boreas/util.h' -> '/usr/local/include/gvm/boreas/util.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util' -> '/usr/local/include/gvm/util' '/home/david/install/gvm-libs/usr/local/include/gvm/util/passwordbasedauthentication.h' -> '/usr/local/include/gvm/util/passwordbasedauthentication.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/authutils.h' -> '/usr/local/include/gvm/util/authutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/compressutils.h' -> '/usr/local/include/gvm/util/compressutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/fileutils.h' -> '/usr/local/include/gvm/util/fileutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/gpgmeutils.h' -> '/usr/local/include/gvm/util/gpgmeutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/kb.h' -> '/usr/local/include/gvm/util/kb.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/ldaputils.h' -> '/usr/local/include/gvm/util/ldaputils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/nvticache.h' -> '/usr/local/include/gvm/util/nvticache.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/mqtt.h' -> '/usr/local/include/gvm/util/mqtt.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/radiusutils.h' -> '/usr/local/include/gvm/util/radiusutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/serverutils.h' -> '/usr/local/include/gvm/util/serverutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/sshutils.h' -> '/usr/local/include/gvm/util/sshutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/uuidutils.h' -> '/usr/local/include/gvm/util/uuidutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/util/xmlutils.h' -> '/usr/local/include/gvm/util/xmlutils.h' '/home/david/install/gvm-libs/usr/local/include/gvm/osp' -> '/usr/local/include/gvm/osp' '/home/david/install/gvm-libs/usr/local/include/gvm/osp/osp.h' -> '/usr/local/include/gvm/osp/osp.h' '/home/david/install/gvm-libs/usr/local/include/gvm/gmp' -> '/usr/local/include/gvm/gmp' '/home/david/install/gvm-libs/usr/local/include/gvm/gmp/gmp.h' -> '/usr/local/include/gvm/gmp/gmp.h'
Yeah, not sure why... but I am using the same version as yourself....
_"PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTUCODENAME=jammy"
Ok, so I'm doing a fresh OS install and no updates and let script run... Will keep updated!
So back to square one.... :(
Can you assist which line I should comment out?
if you do not mind!
############################################################################### Updating Linux OS ###############################################################################
Extracting templates from packages: 100% [/] Preconfiguring packages ... (Reading database ... 74615 files and directories currently installed.) Preparing to unpack .../coreutils_8.32-4.1ubuntu1.2_amd64.deb ... Unpacking coreutils (8.32-4.1ubuntu1.2) over (8.32-4.1ubuntu1.1) ... [] Setting up coreutils (8.32-4.1ubuntu1.2) ... (Reading database ... 74615 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.4.12_amd64.deb ... [|] Unpacking libapt-pkg6.0:amd64 (2.4.12) over (2.4.11) ... [/] Setting up libapt-pkg6.0:amd64 (2.4.12) ... (Reading database ... 74615 files and directories currently installed.) Preparing to unpack .../dpkg_1.21.1ubuntu2.3_amd64.deb ... Unpacking dpkg (1.21.1ubuntu2.3) over (1.21.1ubuntu2.2) ... [/] Setting up dpkg (1.21.1ubuntu2.3) ... [|] dpkg-db-backup.service is a disabled or a static unit not running, not starting it. (Reading database ... 74615 files and directories currently installed.) Preparing to unpack .../archives/apt_2.4.12_amd64.deb ... Unpacking apt (2.4.12) over (2.4.11) ... [] Setting up apt (2.4.12) ... (Reading database ... 74615 files and directories currently installed.) Preparing to unpack .../apt-utils_2.4.12_amd64.deb ... Unpacking apt-utils (2.4.12) over (2.4.11) ... Preparing to unpack .../logsave_1.46.5-2ubuntu1.2_amd64.deb ... Unpacking logsave (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ... [/] Preparing to unpack .../libext2fs2_1.46.5-2ubuntu1.2_amd64.deb ... Unpacking libext2fs2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ... [-] Setting up libext2fs2:amd64 (1.46.5-2ubuntu1.2) ... (Reading database ... 74615 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.46.5-2ubuntu1.2_amd64.deb ... [] Unpacking e2fsprogs (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ... Preparing to unpack .../python3-minimal_3.10.6-1~22.04.1_amd64.deb ... [|] Unpacking python3-minimal (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ... [/] Setting up python3-minimal (3.10.6-1~22.04.1) ... (Reading database ... 74615 files and directories currently installed.) Preparing to unpack .../python3_3.10.6-1~22.04.1_amd64.deb ... [/] Unpacking python3 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ... [-] Preparing to unpack .../libpython3-stdlib_3.10.6-1~22.04.1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ... Preparing to unpack .../update-notifier-common_3.192.54.8_all.deb ... [] Unpacking update-notifier-common (3.192.54.8) over (3.192.54.6) ... [/] Preparing to unpack .../libcom-err2_1.46.5-2ubuntu1.2_amd64.deb ... Unpacking libcom-err2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ... Setting up libcom-err2:amd64 (1.46.5-2ubuntu1.2) ... (Reading database ... 74615 files and directories currently installed.) Preparing to unpack .../00-libss2_1.46.5-2ubuntu1.2_amd64.deb ... Unpacking libss2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ... [] Preparing to unpack .../01-tzdata_2024a-0ubuntu0.22.04.1_all.deb ... Unpacking tzdata (2024a-0ubuntu0.22.04.1) over (2024a-0ubuntu0.22.04) ... Preparing to unpack .../02-xxd_2%3a8.2.3995-1ubuntu2.17_amd64.deb ... [-] Unpacking xxd (2:8.2.3995-1ubuntu2.17) over (2:8.2.3995-1ubuntu2.16) ... Preparing to unpack .../03-vim_2%3a8.2.3995-1ubuntu2.17_amd64.deb ... Unpacking vim (2:8.2.3995-1ubuntu2.17) over (2:8.2.3995-1ubuntu2.16) ... [] Preparing to unpack .../04-vim-tiny_2%3a8.2.3995-1ubuntu2.17_amd64.deb ... [|] Unpacking vim-tiny (2:8.2.3995-1ubuntu2.17) over (2:8.2.3995-1ubuntu2.16) ... [/] Preparing to unpack .../05-vim-runtime_2%3a8.2.3995-1ubuntu2.17_all.deb ... Unpacking vim-runtime (2:8.2.3995-1ubuntu2.17) over (2:8.2.3995-1ubuntu2.16) ... [-] Preparing to unpack .../06-vim-common_2%3a8.2.3995-1ubuntu2.17_all.deb ... Unpacking vim-common (2:8.2.3995-1ubuntu2.17) over (2:8.2.3995-1ubuntu2.16) ... [] Preparing to unpack .../07-ubuntu-minimal_1.481.3_amd64.deb ... Unpacking ubuntu-minimal (1.481.3) over (1.481.1) ... Preparing to unpack .../08-busybox-static_1%3a1.30.1-7ubuntu3.1_amd64.deb ... [|] Unpacking busybox-static (1:1.30.1-7ubuntu3.1) over (1:1.30.1-7ubuntu3) ... Preparing to unpack .../09-tcpdump_4.99.1-3ubuntu0.2_amd64.deb ... [/] Unpacking tcpdump (4.99.1-3ubuntu0.2) over (4.99.1-3ubuntu0.1) ... Preparing to unpack .../10-ubuntu-standard_1.481.3_amd64.deb ... Unpacking ubuntu-standard (1.481.3) over (1.481.1) ... [-] Preparing to unpack .../11-python3-problem-report_2.20.11-0ubuntu82.6_all.deb ... [] Unpacking python3-problem-report (2.20.11-0ubuntu82.6) over (2.20.11-0ubuntu82.5) ... Preparing to unpack .../12-python3-apport_2.20.11-0ubuntu82.6_all.deb ... [|] Unpacking python3-apport (2.20.11-0ubuntu82.6) over (2.20.11-0ubuntu82.5) ... Preparing to unpack .../13-apport_2.20.11-0ubuntu82.6_all.deb ... [/] Unpacking apport (2.20.11-0ubuntu82.6) over (2.20.11-0ubuntu82.5) ... [-] Preparing to unpack .../14-busybox-initramfs_1%3a1.30.1-7ubuntu3.1_amd64.deb ... Unpacking busybox-initramfs (1:1.30.1-7ubuntu3.1) over (1:1.30.1-7ubuntu3) ... [] Preparing to unpack .../15-ethtool_1%3a5.16-1ubuntu0.1_amd64.deb ... Unpacking ethtool (1:5.16-1ubuntu0.1) over (1:5.16-1) ... [|] Preparing to unpack .../16-landscape-common_23.02-0ubuntu1~22.04.3_amd64.deb ... [/] Unpacking landscape-common (23.02-0ubuntu1~22.04.3) over (19.12-0ubuntu13) ... [-] Preparing to unpack .../17-libgpgme11_1.16.0-1.2ubuntu4.2_amd64.deb ... Unpacking libgpgme11:amd64 (1.16.0-1.2ubuntu4.2) over (1.16.0-1.2ubuntu4.1) ... [] Preparing to unpack .../18-libldap-2.5-0_2.5.18+dfsg-0ubuntu0.22.04.2_amd64.deb ... Unpacking libldap-2.5-0:amd64 (2.5.18+dfsg-0ubuntu0.22.04.2) over (2.5.16+dfsg-0ubuntu0.22.04.2) ... Preparing to unpack .../19-libldap-common_2.5.18+dfsg-0ubuntu0.22.04.2_all.deb ... [|] Unpacking libldap-common (2.5.18+dfsg-0ubuntu0.22.04.2) over (2.5.16+dfsg-0ubuntu0.22.04.2) ... Preparing to unpack .../20-ubuntu-server_1.481.3_amd64.deb ... Unpacking ubuntu-server (1.481.3) over (1.481.1) ... [/] Preparing to unpack .../21-cloud-init_24.1.3-0ubuntu1~22.04.5_all.deb ... Unpacking cloud-init (24.1.3-0ubuntu1~22.04.5) over (23.3.3-0ubuntu0~22.04.1) ... [-] Preparing to unpack .../22-ubuntu-server-minimal_1.481.3_amd64.deb ... Unpacking ubuntu-server-minimal (1.481.3) over (1.481.1) ... Preparing to unpack .../23-intel-microcode_3.20240813.0ubuntu0.22.04.2_amd64.deb ... [] Unpacking intel-microcode (3.20240813.0ubuntu0.22.04.2) over (3.20240514.0ubuntu0.22.04.1) ... [/] Setting up tcpdump (4.99.1-3ubuntu0.2) ... Installing new version of config file /etc/apparmor.d/usr.bin.tcpdump ... Setting up apt-utils (2.4.12) ... [|] Setting up intel-microcode (3.20240813.0ubuntu0.22.04.2) ... update-initramfs: deferring update (trigger activated) intel-microcode: microcode will be updated at next boot Setting up libldap-common (2.5.18+dfsg-0ubuntu0.22.04.2) ... Setting up libgpgme11:amd64 (1.16.0-1.2ubuntu4.2) ... [/] Setting up libldap-2.5-0:amd64 (2.5.18+dfsg-0ubuntu0.22.04.2) ... Setting up xxd (2:8.2.3995-1ubuntu2.17) ... Setting up tzdata (2024a-0ubuntu0.22.04.1) ... [-] Current default time zone: 'Australia/Perth' Local time is now: Sun Aug 25 15:12:43 AWST 2024. Universal Time is now: Sun Aug 25 07:12:43 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it.
[] Setting up vim-common (2:8.2.3995-1ubuntu2.17) ... Setting up busybox-static (1:1.30.1-7ubuntu3.1) ... Setting up libss2:amd64 (1.46.5-2ubuntu1.2) ... Setting up busybox-initramfs (1:1.30.1-7ubuntu3.1) ... Setting up logsave (1.46.5-2ubuntu1.2) ... Setting up vim-runtime (2:8.2.3995-1ubuntu2.17) ... [/] Setting up libpython3-stdlib:amd64 (3.10.6-1~22.04.1) ... Setting up ethtool (1:5.16-1ubuntu0.1) ... Setting up vim (2:8.2.3995-1ubuntu2.17) ... Setting up e2fsprogs (1.46.5-2ubuntu1.2) ... [] update-initramfs: deferring update (trigger activated) [-] e2scrub_all.service is a disabled or a static unit not running, not starting it. Setting up python3 (3.10.6-1~22.04.1) ... [/] Setting up vim-tiny (2:8.2.3995-1ubuntu2.17) ... Setting up ubuntu-standard (1.481.3) ... Setting up landscape-common (23.02-0ubuntu1~22.04.3) ... Setting up cloud-init (24.1.3-0ubuntu1~22.04.5) ... Installing new version of config file /etc/cloud/cloud.cfg ... Installing new version of config file /etc/cloud/cloud.cfg.d/05_logging.cfg ... [/] Installing new version of config file /etc/cloud/templates/chrony.conf.cos.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.debian.tmpl ... Installing new version of config file /etc/cloud/templates/chrony.conf.ubuntu.tmpl ... Installing new version of config file /etc/cloud/templates/hosts.alpine.tmpl ... Installing new version of config file /etc/cloud/templates/hosts.mariner.tmpl ... [-] Installing new version of config file /etc/cloud/templates/ntp.conf.ubuntu.tmpl ... Installing new version of config file /etc/profile.d/Z99-cloud-locale-test.sh ... Installing new version of config file /etc/profile.d/Z99-cloudinit-warnings.sh ... [/] Removing obsolete conffile /etc/cloud/clean.d/README ... [|] Setting up ubuntu-minimal (1.481.3) ... Setting up python3-problem-report (2.20.11-0ubuntu82.6) ... [-] Setting up update-notifier-common (3.192.54.8) ... [-] update-notifier-download.service is a disabled or a static unit not running, not starting it. update-notifier-motd.service is a disabled or a static unit not running, not starting it. [] Setting up python3-apport (2.20.11-0ubuntu82.6) ... [/] Setting up apport (2.20.11-0ubuntu82.6) ... [-] apport-autoreport.service is a disabled or a static unit, not starting it. [] Setting up ubuntu-server (1.481.3) ... Setting up ubuntu-server-minimal (1.481.3) ... Processing triggers for libc-bin (2.35-0ubuntu3.8) ... [|] Processing triggers for rsyslog (8.2112.0-2ubuntu2.2) ... [/] Processing triggers for man-db (2.10.2-1) ... [|] Processing triggers for install-info (6.8-4build1) ... [-] Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-5.15.0-118-generic [|] NEEDRESTART-VER: 3.5 [/] NEEDRESTART-KCUR: 5.15.0-118-generic NEEDRESTART-KEXP: 5.15.0-118-generic NEEDRESTART-KSTA: 1 NEEDRESTART-SVC: packagekit.service NEEDRESTART-SVC: ssh.service NEEDRESTART-SVC: udisks2.service NEEDRESTART-SVC: unattended-upgrades.service NEEDRESTART-SVC: user@1000.service
Linux updated successfully....
############################################################################### Installing common dependencies ###############################################################################
[] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1652 100 1652 0 0 1228 0 0:00:01 0:00:01 --:--:-- 1228 [] gpg: directory '/home/techadmin/.gnupg' created gpg: keybox '/home/techadmin/.gnupg/pubring.kbx' created gpg: /home/techadmin/.gnupg/trustdb.gpg: trustdb created gpg: key 9823FAA60ED1E580: public key "Greenbone Community Feed integrity key" imported gpg: Total number processed: 1 gpg: imported: 1 gpg: inserting ownertrust of 6
Common dependencies installed successfully...
############################################################################### Checking latest OpenVAS releases - edit script to manually force a version ###############################################################################
Latest OpenVAS releases will be installed by default: OPENVAS_SCANNER_VERSION=23.8.5 GSA_VERSION=23.2.1 GVM_LIBS_VERSION=22.10.0 GSAD_VERSION=22.11.0 OPENVAS_SMB_VERSION=22.5.6 PG_GVM_VERSION=22.6.5 GVMD_VERSION=23.8.1 OSPD_OPENVAS_VERSION=22.7.1 OPENVAS_DAEMON=23.8.5
############################################################################### Building & installing gvm-libs 22.10.0 ###############################################################################
[|]
Are you 32 or 64 bit? Are you native or in a container? Content filtering? Geofencing? My instructions were to manually cut/paste and run the section of the script that deals with gvmlibs. See my last message. You need to adapt what I gave you to run locally (fill in the $VARIABLES with real values) This is how you fill find the spefcific step that is failing -and then the cause can be evaluated depending on the specific line that does not work. Bash is not too hard if you give is a try, and all my work is commented clearly.
or you can igniore the script for now and manually walk through each and every step listed here - the script is very close to these instructions. https://greenbone.github.io/docs/latest/22.4/source-build/index.html
I'm 64bit.. Native... No Content Filtering... No Geofencing...
Thanks, yep... managed to read through your script and commented out other errors received.
Weird that I was able to use this 2weeks ago perfect without doing anything extra... And that install is still running 100%,
This was an additional install for a different task but just was not able to replicate the success.
or you can igniore the script for now and manually walk through each and every step listed here - the script is very close to these instructions. https://greenbone.github.io/docs/latest/22.4/source-build/index.html
This version has issues... the current source-build has a known install issue.
Im not clear on the outcome of your testing from what you wrote... which line of the script was not working? Other errors? BTW you cant comment out anything except pgp stuff, everythting is is needed or it will break. The idea is not to comment out what does not work, the idea is to manually test each command to see how each behaves in block and go from there.
BTW Ubuntu 24 it works. For 22.04 let me try and make testing easier.....
run this command manually first - observe the output
sudo apt-get install -y libglib2.0-dev libgpgme-dev libgnutls28-dev uuid-dev libssh-gcrypt-dev libhiredis-dev libxml2-dev libpcap-dev libnet1-dev libpaho-mqtt-dev libldap2-dev libradcli-dev doxygen xmltoman graphviz
now paste each line below one at a time..again, observe each command's output
export INSTALL_PREFIX=/usr/local
export PATH=$PATH:$INSTALL_PREFIX/sbin
export SOURCE_DIR=$HOME/source
export BUILD_DIR=$HOME/build
export INSTALL_DIR=$HOME/install
export GVM_LIBS_VERSION=22.10.0
curl -f -L https://github.com/greenbone/gvm-libs/archive/refs/tags/v$GVM_LIBS_VERSION.tar.gz -o $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz
curl -f -L https://github.com/greenbone/gvm-libs/releases/download/v$GVM_LIBS_VERSION/gvm-libs-v$GVM_LIBS_VERSION.tar.gz.asc -o $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz.asc
gpg --verify $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz.asc $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz
# Build gvm-libs
tar -C $SOURCE_DIR -xvzf $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz
mkdir -p $BUILD_DIR/gvm-libs && cd $BUILD_DIR/gvm-libs
#### Paste all this in section in one go....#####
cmake $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DSYSCONFDIR=/etc \
-DLOCALSTATEDIR=/var
make -j$(nproc)
#####################################
# Install gvm-libs
mkdir -p $INSTALL_DIR/gvm-libs
make DESTDIR=$INSTALL_DIR/gvm-libs install
sudo cp -rv $INSTALL_DIR/gvm-libs/* /
closing this now
Hello,
Thank you for the simple script. I have previously used it with great success.
However, since 2days ago, I'm experiencing an issue with the install script. Now when I try, it is stuck on "Building & installing gvm-libs 22.10.0"
It stays in this state for hours.
OS: ubuntu 22.04.4 LTS
My previous successful install from this script was about 2weeks ago.