Building from source - "Downloading the pg-gvm sources": 404 no such file on github linked on official source install guide!

Hi community!
Lastly I’m trying to setup Greenbone 22.4 on my Debian Buster server - I’m following the official installation guide here: https:/ /greenbone.github.io/docs/latest/22.4/source-build/index.html
The really big issue I’ve encountered is during following this step:
“Downloading the pg-gvm sources: curl -f -L https://github.com/greenbone/pg-gvm/archive/refs/tags/v$PG_GVM_VERSION.tar.gz -o $SOURCE_DIR/pg-gvm-$PG_GVM_VERSION.tar.gz
curl -f -L https://github.com/greenbone/pg-gvm/releases/download/v$PG_GVM_VERSION/pg-gvm-$PG_GVM_VERSION.tar.gz.asc -o $SOURCE_DIR/pg-gvm-$PG_GVM_VERSION.tar.gz.asc”
I get an error: curl: (22) The requested URL returned error: 404
I have an internet connection and basically the github that Greenbone guide refers to doesn’t exist!
Thanks in advance for help, maybe someone could fix it in the installation guide? Where can I search for this packages?
Sincerely,
v3rtx

Environment

Operating system: Debian buster 10
Kernel: Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux

I am sorry I can’t reproduce your issue

I’ve followed https://greenbone.github.io/docs/latest/22.4/source-build/index.html#pg-gvm and just set the required env variables. Works for me.

4 Likes

Okay, thank you very much! It works now for me, I just didn’t know that cache is purged from time to time, so I had to add environment variables once again:).
BTW mqtt is very hard dependency to get on the board.
I had to use that instead of just the normal command:
“apt-get install openssl libssl-dev
cd /usr/local/src
git clone https://github.com/eclipse/paho.mqtt.c.git
cd paho.mqtt.c.git
make && sudo make install”

1 Like

Hey v3rtx.

Glad you got it! On what OS are you running our stable build? We recommend debian stable (bullseye).

2 Likes

I was on Debian buster, but the issue is resolved so far. Thanks a lot for help and feedback!

1 Like

I already supposed this, because I remember that we needed to install this from github, too, for buster. :wink:

2 Likes

The fun part is, firstly I wanted to setup Greenbone on Ubuntu 20.04, but then some dependencies started to be an issue, so I’ve decided to move to Debian Buster. Then the same problems started to occur, and I’ve came back to Ubuntu:)

1 Like

Stay tuned. We will probably have Source Build documentation for more Operating Systems in near future!

But for Ubuntu it is probably the same: for Greenbone stable you will need Ubuntu stable (22.04) and not oldstable (20.04)!

2 Likes