Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenVAS] Empty directory during installation #140

Closed
TatusGepetto opened this issue Mar 28, 2023 · 1 comment
Closed

[OpenVAS] Empty directory during installation #140

TatusGepetto opened this issue Mar 28, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@TatusGepetto
Copy link

Hi,

I was following your new documentation for ubuntu 22.04 and I hit an issue like below:

ubuntu@openvas-22-04:~$ cd $SOURCE_DIR/ospd-openvas-$OSPD_OPENVAS_VERSION
ubuntu@openvas-22-04:~/source/ospd-openvas-22.4.0$ sudo python3 -m pip install . --prefix /usr/local --no-warn-script-location --no-dependencies
Processing /home/ubuntu/source/ospd-openvas-22.4.0
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: ospd-openvas
  Building wheel for ospd-openvas (pyproject.toml) ... done
  Created wheel for ospd-openvas: filename=ospd_openvas-22.4.0-py3-none-any.whl size=124241 sha256=a619fa244a34e0abb67067e02ae2708e96b022c3d5d45131afcad5f148b99962
  Stored in directory: /root/.cache/pip/wheels/35/ea/80/7b594c2c726edf07c8c05d1bca6d9e8d678c1abff06986f4f3
Successfully built ospd-openvas
Installing collected packages: ospd-openvas
  Attempting uninstall: ospd-openvas
    Found existing installation: ospd-openvas 22.4.0
    Uninstalling ospd-openvas-22.4.0:
      Successfully uninstalled ospd-openvas-22.4.0
Successfully installed ospd-openvas-22.4.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
ubuntu@openvas-22-04:~/source/ospd-openvas-22.4.0$ cd $INSTALL_DIR/
ubuntu@openvas-22-04:~/install$ ls
ubuntu@openvas-22-04:~/install$ pwd
/home/ubuntu/install
ubuntu@openvas-22-04:~/install$ ls /home/ubuntu/install
ubuntu@openvas-22-04:~/install$ 

I'm discussing about lines 202-207 from here: https://github.com/libellux/Libellux-Up-and-Running/blob/master/docs/openvas/config/ubuntu-22_04_GVM-22.4.0.sh

Seems that directory is empty, so final copy:
sudo cp -rv $INSTALL_DIR/* / && \ will not work - is that on purpose or something wrong is here?

Thanks in advance for explanation.

Best regards,
Jan

@TatusGepetto TatusGepetto added the question Further information is requested label Mar 28, 2023
@libellux
Copy link
Owner

libellux commented Oct 7, 2023

Sorry for late answer this is resolved by running python3 -m pip install . --prefix /usr/local --no-warn-script-location --no-dependencies without sudo permissions. Will update my website tomorrow with all the latest versions.

@libellux libellux closed this as completed Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants