Hello Eero,

Thank you for your prompt response.

I have both the packages installed on my Laptop. Below is the output of
their presence:

sit-india@sitindia-Latitude-E5440:~$ which md5sum
/usr/bin/md5sum

sit-india@sitindia-Latitude-E5440:~$ which bzip2
/bin/bzip

sit-india@sitindia-Latitude-E5440:~$ echo $PATH
/home/sit-india/bin:/home/sit-india/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:
*/usr/bin*:/sbin:*/bin*:/usr/games:/usr/local/games:/snap/bin

Regards,
Shashank Tadakamadla


On 20 February 2017 at 18:37, Eero Volotinen <[email protected]> wrote:

> install bzip2 and md5sum tools from package management and try again.
>
> Eero
>
> 2017-02-20 14:50 GMT+02:00 system cambium <[email protected]>:
>
>> Team,
>>
>> I have been trying to update library of openvas using "openvas-nvt-sync",
>> but unfortunately, it fails to update.
>>
>> Tried multiple methods to install it based on solutions poped-up in
>> google search. Still had no success.
>>
>> Below are the logs:
>>
>> sit-india@sitindia-Latitude-E5440:~$ sudo openvas-nvt-sync
>> [sudo] password for sit-india:
>> [i] This script synchronizes an NVT collection with the 'OpenVAS NVT
>> Feed'.
>> [i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
>> [i] Online information about this feed: 'http://www.openvas.org/openva
>> s-nvt-feed.html'.
>> [i] NVT dir: /var/lib/openvas/plugins
>> [w] Could not determine feed version.
>> [i] rsync is not recommended for the initial sync. Falling back on http.
>> [i] Will use wget
>> [i] Using GNU wget: /usr/bin/wget
>> [i] Configured NVT http feed: http://www.openvas.org/openvas
>> -nvt-feed-current.tar.bz2
>> [i] Downloading to: /tmp/openvas-nvt-sync.GeOdasxi
>> Tx/openvas-feed-2017-02-20-2734.tar.bz2
>> --2017-02-20 18:19:52--  http://www.openvas.org/openvas
>> -nvt-feed-current.tar.bz2
>> Resolving www.openvas.org (www.openvas.org)... 208.69.34.25,
>> ::ffff:208.69.34.26
>> Connecting to www.openvas.org (www.openvas.org)|208.69.34.25|:80...
>> connected.
>> HTTP request sent, awaiting response... 302 Moved Temporarily
>> Location: http://88c6df1b749319ddd6a2c4c99580bf4b82dc.d0452297.id.
>> opendns.com/h/www.openvas.org/openvas-nvt-feed-current.tar.
>> bz2?X-OpenDNS-Session=aa51dc5c0ccc5aad4_608281d70f7e0048fe08
>> ad20d64c90e9397c_88c6df1b749319ddd6a2c4c99580bf4b82dc30d2_ [following]
>> --2017-02-20 18:19:52--  http://88c6df1b749319ddd6a2c4c
>> 99580bf4b82dc.d0452297.id.opendns.com/h/www.openvas.org/
>> openvas-nvt-feed-current.tar.bz2?X-OpenDNS-Session=aa51dc5c
>> 0ccc5aad4_608281d70f7e0048fe08ad20d64c90e9397c_88c6df1b74931
>> 9ddd6a2c4c99580bf4b82dc30d2_
>> Resolving 88c6df1b749319ddd6a2c4c99580bf4b82dc.d0452297.id.opendns.com (
>> 88c6df1b749319ddd6a2c4c99580bf4b82dc.d0452297.id.opendns.com)...
>> 208.69.34.151
>> Connecting to 88c6df1b749319ddd6a2c4c99580bf
>> 4b82dc.d0452297.id.opendns.com (88c6df1b749319ddd6a2c4c99580b
>> f4b82dc.d0452297.id.opendns.com)|208.69.34.151|:80... connected.
>> HTTP request sent, awaiting response... 302 Moved Temporarily
>> Location: http://www.openvas.org/openvas-nvt-feed-current.tar.bz2?X-
>> OpenDNS-Session=aa51dc5c0ccc5aad4_608281d70f7e0048fe08ad20d6
>> 4c90e9397c_88c6df1b749319ddd6a2c4c99580bf4b82dc30d2_ [following]
>> --2017-02-20 18:19:53--  http://www.openvas.org/openvas
>> -nvt-feed-current.tar.bz2?X-OpenDNS-Session=aa51dc5c0ccc5a
>> ad4_608281d70f7e0048fe08ad20d64c90e9397c_88c6df1b749319ddd6a
>> 2c4c99580bf4b82dc30d2_
>> Connecting to www.openvas.org (www.openvas.org)|208.69.34.25|:80...
>> connected.
>> HTTP request sent, awaiting response... 302 Moved Temporarily
>> Location: /openvas-nvt-feed-current.tar.bz2 [following]
>> --2017-02-20 18:19:53--  http://www.openvas.org/openvas
>> -nvt-feed-current.tar.bz2
>> Reusing existing connection to www.openvas.org:80.
>> HTTP request sent, awaiting response... 302 Moved Temporarily
>> Location: https://malware.opendns.com/?server=lon15&url=http://www.ope
>> nvas.org/openvas-nvt-feed-current.tar.bz2&proxy=y&origin=
>> FQVoGQF8ABouBQpwGAgdFQ==&prefs=20544&tagging=0x50000020
>> 03bf,0xd400780000080001 [following]
>> --2017-02-20 18:19:54--  https://malware.opendns.com/?s
>> erver=lon15&url=http://www.openvas.org/openvas-nvt-feed-curr
>> ent.tar.bz2&proxy=y&origin=FQVoGQF8ABouBQpwGAgdFQ==&
>> prefs=20544&tagging=0x5000002003bf,0xd400780000080001
>> Resolving malware.opendns.com (malware.opendns.com)...
>> ::ffff:208.69.34.152, 208.69.34.152
>> Connecting to malware.opendns.com 
>> (malware.opendns.com)|::ffff:208.69.34.152|:443...
>> connected.
>> HTTP request sent, awaiting response... 302 Moved Temporarily
>> Location: http://278b3281802dc5b5495ea0cff94155af6d49.d0452297.id.
>> opendns.com/s/malware.opendns.com/index.php?X-OpenDNS-
>> Session=aa51dc5c0ccc5aad4_56fb6dc300e8a046230be27061796a12a1
>> 69_278b3281802dc5b5495ea0cff94155af6d49eb4d_server=lon15&
>> url=http://www.openvas.org/openvas-nvt-feed-current.tar.bz2&;
>> proxy=y&origin=FQVoGQF8ABouBQpwGAgdFQ==&prefs=20544&tagging=
>> 0x5000002003bf,0xd400780000080001 [following]
>> --2017-02-20 18:19:55--  http://278b3281802dc5b5495ea0c
>> ff94155af6d49.d0452297.id.opendns.com/s/malware.opendns.
>> com/index.php?X-OpenDNS-Session=aa51dc5c0ccc5aad4_56fb
>> 6dc300e8a046230be27061796a12a169_278b3281802dc5b5495ea0cff94
>> 155af6d49eb4d_server=lon15&url=http://www.openvas.org/ope
>> nvas-nvt-feed-current.tar.bz2&proxy=y&origin=FQVoGQF8ABouBQp
>> wGAgdFQ==&prefs=20544&tagging=0x5000002003bf,0xd400780000080001
>> Resolving 278b3281802dc5b5495ea0cff94155af6d49.d0452297.id.opendns.com (
>> 278b3281802dc5b5495ea0cff94155af6d49.d0452297.id.opendns.com)...
>> 208.69.34.151
>> Connecting to 278b3281802dc5b5495ea0cff94155
>> af6d49.d0452297.id.opendns.com (278b3281802dc5b5495ea0cff9415
>> 5af6d49.d0452297.id.opendns.com)|208.69.34.151|:80... connected.
>> HTTP request sent, awaiting response... 302 Moved Temporarily
>> Location: https://malware.opendns.com/index.php?X-OpenDNS-Session=aa51
>> dc5c0ccc5aad4_56fb6dc300e8a046230be27061796a12a169_278b32818
>> 02dc5b5495ea0cff94155af6d49eb4d_server=lon15&url=http://www.
>> openvas.org/openvas-nvt-feed-current.tar.bz2&proxy=y&
>> origin=FQVoGQF8ABouBQpwGAgdFQ==&prefs=20544&tagging=0x500000
>> 2003bf,0xd400780000080001 [following]
>> --2017-02-20 18:19:55--  https://malware.opendns.com/in
>> dex.php?X-OpenDNS-Session=aa51dc5c0ccc5aad4_56fb6dc300e8a046
>> 230be27061796a12a169_278b3281802dc5b5495ea0cff94155af6d49eb4
>> d_server=lon15&url=http://www.openvas.org/openvas-nvt-feed-
>> current.tar.bz2&proxy=y&origin=FQVoGQF8ABouBQpwGAgdFQ=
>> =&prefs=20544&tagging=0x5000002003bf,0xd400780000080001
>> Connecting to malware.opendns.com 
>> (malware.opendns.com)|::ffff:208.69.34.152|:443...
>> connected.
>> HTTP request sent, awaiting response... 302 Moved Temporarily
>> Location: /index.php?server=lon15&url=http://www.openvas.org/openvas-n
>> vt-feed-current.tar.bz2&proxy=y&origin=FQVoGQF8ABouBQpwGAgdF
>> Q==&prefs=20544&tagging=0x5000002003bf,0xd400780000080001 [following]
>> --2017-02-20 18:19:56--  https://malware.opendns.com/in
>> dex.php?server=lon15&url=http://www.openvas.org/openvas-nvt-
>> feed-current.tar.bz2&proxy=y&origin=FQVoGQF8ABouBQpwGAgdFQ=
>> =&prefs=20544&tagging=0x5000002003bf,0xd400780000080001
>> Reusing existing connection to [malware.opendns.com]:443.
>> HTTP request sent, awaiting response... 200 OK
>> Length: unspecified [text/html]
>> Saving to: ‘/tmp/openvas-nvt-sync.GeOdasxiTx/openvas-feed-2017-02-20-
>> 2734.tar.bz2’
>>
>> /tmp/openvas-nvt-sync.GeOdasxiTx/op     [ <=>
>>                                     ]   7.36K  --.-KB/s    in 0s
>>
>> 2017-02-20 18:19:56 (996 MB/s) - ‘/tmp/openvas-nvt-sync.GeOdasx
>> iTx/openvas-feed-2017-02-20-2734.tar.bz2’ saved [7532]
>>
>> bzip2: (stdin) is not a bzip2 file.
>> tar: Child returned status 2
>> tar: Error is not recoverable: exiting now
>> [i] Checking dir: ok
>> [i] Checking MD5 checksum: /usr/bin/md5sum: /var/lib/openvas/plugins/md5sums:
>> No such file or directory
>> not ok
>> Error: md5sums not correct. Your NVT collection might be broken now.
>> Please try this for details: cd "/var/lib/openvas/plugins" ;
>> /usr/bin/md5sum -c "/var/lib/openvas/plugins/md5sums" | less
>>
>> Please help me in resolving the above issue.
>>
>> Thank You.
>>
>> Regards,
>> Shashank Tadakamadla.
>>
>> _______________________________________________
>> Openvas-discuss mailing list
>> [email protected]
>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/o
>> penvas-discuss
>>
>
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to