Ospd-openvas failing to install

Using a clean fresh brand new machine and following the docs, I’m getting an error I can’t get past.

debian@pentestsource:~/source/ospd-openvas-21.4.4$ python3 -m pip install . --prefix=$INSTALL_PREFIX --root=$INSTALL_DIR --no-warn-script-location
Processing /home/debian/source/ospd-openvas-21.4.4
  Installing build dependencies ... done
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.7/tokenize.py", line 447, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-qnch8f4t/setup.py'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-qnch8f4t/

GVM versions

gsad: (‘gsad --version’) 21.4.4
gvmd: (‘gvmd --version’) 21.4.4
openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’) 21.4.4
gvm-libs: 21.4.4

Environment

Operating system:
Kernel: (‘uname -a’) Linux pentestsource 4.19.0-18-cloud-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux
Installation method / source:

Hi,

I’ve just tried to take a look at your problem but following the docs I wasn’t able to reproduce the issue. Maybe the installed pip version for the user is to old? Could you try running python3 -m pip install -U pip and try again the steps from the docs?

2 Likes