openvas 安装错误

2020-11-30 17:32发布

问题:

按照提示执行greenbone-nvt-sync命令,但是命令下载后出现打包错误。更换系统也不行。

按照网上的博客操作也不行。如果启动没有相关数据。请问这是什么原因呢?

 

root@kali:~# greenbone-nvt-sync
--2020-04-13 06:10:12-- 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... 301 Moved Permanently
Location: http://www.greenbone.net [following]
URL transformed to HTTPS due to an HSTS policy
--2020-04-13 06:10:13-- https://www.greenbone.net/
Resolving www.greenbone.net (www.greenbone.net)... 185.135.33.8, 2001:67c:274c:1353::8
Connecting to www.greenbone.net (www.greenbone.net)|185.135.33.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 97000 (95K) [text/html]
Saving to: ‘/tmp/greenbone-nvt-sync.UA03iAtYeX/openvas-feed-2020-04-13-2201.tar.bz2’

/tmp/greenbone-nvt-sync 100%[==============================>] 94.73K 9.33KB/s in 10s

2020-04-13 06:10:26 (9.33 KB/s) - ‘/tmp/greenbone-nvt-sync.UA03iAtYeX/openvas-feed-2020-04-13-2201.tar.bz2’ saved [97000/97000]

bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now

回答1:

bzip2: (stdin) is not a bzip2 file. 文件没下载完整吧,你可以单独打开看看