I had successfully installed by ‘Building from Source’ on a debian bookworm.
Today I wanted to update the installation by following the instructions ‘Workflows, Updating to Newer Releases’.
It says “…follow the build and install documentation…” but at the step ‘gvm-libs’ the command… 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
…returns “curl: (22) The requested URL returned error: 404”
Checking https://github.com/greenbone/gvm-libs/releases/download/v22.18.0/gvm-libs-v22.18.0.tar.gz.asc
in a browser shows a 404 page.
After I solved this (as described in my comment below), I continued with cmake:
CMake Error: The source “…/source/gvm-libs-22.18.1/CMakeLists.txt” does not match the source “…/source/gvm-libs-22.10.0/CMakeLists.txt” used to generate cache. Re-run cmake with a different source directory.
So second curl command should read: curl -f -L https://github.com/greenbone/gvm-libs/releases/download/v$GVM_LIBS_VERSION/gvm-libs-$GVM_LIBS_VERSION.tar.gz.asc -o $SOURCE_DIR/gvm-libs-$GVM_LIBS_VERSION.tar.gz.asc
…which then works fine.
Obviously it is necessary to delete the …/gvm-libs directories in the build, install, source directories first, before you start to install a new release.
After removing the gvm-libs directories, the cmake commands worked well.