ppa:mrzavi/gvm install fails in greenbone-nvt-sync

Asked by rob thirlby

Hi, I loaded a clean install of ubuntu 18.04 and followed your instructions to install GVM from your package ppa:mrazavi/gvm. It fails when i issue greenbone-nvt-sync with multiple errors from mkdir permission denied. Here are extracts from the terminal output.

-2020-05-19 16:40:55-- http://dl.greenbone.net/community-nvt-feed-current.tar.bz2
Resolving dl.greenbone.net (dl.greenbone.net)... 89.146.224.58, 2a01:130:2000:127::d1
Connecting to dl.greenbone.net (dl.greenbone.net)|89.146.224.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24705590 (24M) [application/octet-stream]
Saving to: ‘/tmp/greenbone-nvt-sync.5PhqFT0WFb/openvas-feed-2020-05-19-13613.tar.bz2’

     0K .......... .......... .......... .......... .......... 0% 970K 25s
    50K .......... .......... .......... .......... .......... 0% 1.97M 18s
   100K .......... .......... .......... .......... .......... 0% 5.96M 14s

...
24050K .......... .......... .......... .......... .......... 99% 5.74M 0s
 24100K .......... .......... ...... 100% 5.49M=4.3s

2020-05-19 16:41:00 (5.49 MB/s) - ‘/tmp/greenbone-nvt-sync.5PhqFT0WFb/openvas-feed-2020-05-19-13613.tar.bz2’ saved [24705590/24705590]

2008/
tar: 2008: Cannot mkdir: Permission denied
2008/secpod_ms08-054_900045.nasl
tar: 2008: Cannot mkdir: Permission denied
tar: 2008/secpod_ms08-054_900045.nasl: Cannot open: No such file or directory
2008/secpod_goodtech_ssh_sftp_mul_bof_vuln_900166.nasl
tar: 2008: Cannot mkdir: Permission denied
tar: 2008/secpod_goodtech_ssh_sftp_mul_bof_vuln_900166.nasl: Cannot open: No such file or directory
2008/secpod_pi3web_isapi_request_dos_vuln_900402.nasl
tar: 2008: Cannot mkdir: Permission denied
tar: 2008/secpod_pi3web_isapi_request_dos_vuln_900402.nasl: Cannot open: No such file or directory
2008/gb_twiki_xss_n_cmd_exec_vuln.nasl
tar: 2008: Cannot mkdir: Permission denied
tar: 2008/gb_twiki_xss_n_cmd_exec_vuln.nasl: Cannot open: No such file or directory
2008/secpod_firefox_location_hash_dos_vuln.nasl

and so on for all tars.
I'm very new to ubuntu though used to run large unix systems. I successfully installed openvas9 on the same hardware yesterday.

Regards, Rob Thirlby <email address hidden>

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Which "your instructions" are you talking about?

Maybe https://launchpad.net/~mrazavi/+archive/ubuntu/gvm ?

If yes, then you have to contact the person responsible for that PPA, see https://launchpad.net/~mrazavi/

Revision history for this message
rob thirlby (robthirlby) said :
#2

I'm sorry I thought that was what i was doing. That was the article i was following.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

https://answers.launchpad.net/launchpad/ is the question/answer area for the Launchpad Hosting Services.

The problem that you have is related to the software that somebody provides by using the Launchpad Hosting infrastructure.
The responsibility for the contents is with that person, and you have to contact him directly.

Remark to your problem:
Maybe you have to use "sudo greenbone-nvt-sync"

Revision history for this message
rob thirlby (robthirlby) said :
#4

Hi thanks for advice. I've bounced the query to the author. I tried using sudo on this step when installing openvas 9 the other day mainly because it seemed odd doing the whole procedure with sudo but not this one, but it wouldn't run. It checked that the line is not run as su because it could cause problems with access to the resulting directories or words to that effect. However I will try it with the newer package in case this check has been removed. I must find out how to unpack the script to see what is being executed within!

Regards, Rob

-----Original Message-----
From: <email address hidden> <email address hidden> On Behalf Of Manfred Hampl
Sent: 20 May 2020 08:16
To: <email address hidden>
Subject: Re: [Question #690831]: gvm install fails in greenbone-nvt-sync

Your question #690831 on Launchpad itself changed:
https://answers.launchpad.net/launchpad/+question/690831

    Status: Needs information => Answered

Manfred Hampl proposed the following answer:
https://answers.launchpad.net/launchpad/ is the question/answer area for the Launchpad Hosting Services.

The problem that you have is related to the software that somebody provides by using the Launchpad Hosting infrastructure.
The responsibility for the contents is with that person, and you have to contact him directly.

Remark to your problem:
Maybe you have to use "sudo greenbone-nvt-sync"

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/launchpad/+question/690831/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/launchpad/+question/690831

You received this question notification because you asked the question.

---
This email has been checked for viruses by AVG.
https://www.avg.com

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.