Build from Source Error

Hi,

This is a new Install on Ubuntu 22 and its giving following error

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
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 9 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
curl: (22) The requested URL returned error: 404

is the location or file changed as its giving 404 not found error

can someone let me know how to resolve this error

Thank you

Seems ok, U sure that the version is correctly set, say 22.18.0 for latest? https://github.com/greenbone/gvm-libs/releases/download/v22.18.0/gvm-libs-22.18.0.tar.gz.asc

Did have some accessibility issues with GitHub yesterday, but thought that was just me :slight_smile:

Enjoy /Martin

I just had a 404 with that same URL. Other asc files are ok. I just skipped that one and moved on; not a deal breaker for getting things installed.

Hi, I am sorry but I can’t reproduce the issue. Did you set GMV_LIBS_VERSION? I’ve tried to reproduce it with a clean debian container and it works for me.

docker run -it --rm debian:stable-slim /bin/bash

apt-get update && apt-get install ca-certificates curl -y --no-install-recommends
export GVM_LIBS_VERSION=22.18.0
export SOURCE_DIR=/tmp
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
1 Like

Keep in mind that you need to run all of the commands from the source build installation docs in the very same terminal and not switch around terminals / shells, close one and re-open another and similar.

Otherwise the previously defined temporary variables like GVM_LIBS_VERSION will be gone / not defined anymore causing such issues.