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/openvas-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.GeOdasxiTx/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_608281d70f7e0048fe08ad20d64c90e9397c_88c6df1b749319ddd6a2c4c99580bf4b82dc30d2_ [following] --2017-02-20 18:19:52-- http://88c6df1b749319ddd6a2c4c99580bf4b82dc.d0452297.id.opendns.com/h/www.openvas.org/openvas-nvt-feed-current.tar.bz2?X-OpenDNS-Session=aa51dc5c0ccc5aad4_608281d70f7e0048fe08ad20d64c90e9397c_88c6df1b749319ddd6a2c4c99580bf4b82dc30d2_ Resolving 88c6df1b749319ddd6a2c4c99580bf4b82dc.d0452297.id.opendns.com ( 88c6df1b749319ddd6a2c4c99580bf4b82dc.d0452297.id.opendns.com)... 208.69.34.151 Connecting to 88c6df1b749319ddd6a2c4c99580bf4b82dc.d0452297.id.opendns.com ( 88c6df1b749319ddd6a2c4c99580bf4b82dc.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_608281d70f7e0048fe08ad20d64c90e9397c_88c6df1b749319ddd6a2c4c99580bf4b82dc30d2_ [following] --2017-02-20 18:19:53-- http://www.openvas.org/openvas-nvt-feed-current.tar.bz2?X-OpenDNS-Session=aa51dc5c0ccc5aad4_608281d70f7e0048fe08ad20d64c90e9397c_88c6df1b749319ddd6a2c4c99580bf4b82dc30d2_ 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.openvas.org/openvas-nvt-feed-current.tar.bz2&proxy=y&origin=FQVoGQF8ABouBQpwGAgdFQ==&prefs=20544&tagging=0x5000002003bf,0xd400780000080001 [following] --2017-02-20 18:19:54-- https://malware.opendns.com/?server=lon15&url=http://www.openvas.org/openvas-nvt-feed-current.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_56fb6dc300e8a046230be27061796a12a169_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://278b3281802dc5b5495ea0cff94155af6d49.d0452297.id.opendns.com/s/malware.opendns.com/index.php?X-OpenDNS-Session=aa51dc5c0ccc5aad4_56fb6dc300e8a046230be27061796a12a169_278b3281802dc5b5495ea0cff94155af6d49eb4d_server=lon15&url=http://www.openvas.org/openvas-nvt-feed-current.tar.bz2&proxy=y&origin=FQVoGQF8ABouBQpwGAgdFQ==&prefs=20544&tagging=0x5000002003bf,0xd400780000080001 Resolving 278b3281802dc5b5495ea0cff94155af6d49.d0452297.id.opendns.com ( 278b3281802dc5b5495ea0cff94155af6d49.d0452297.id.opendns.com)... 208.69.34.151 Connecting to 278b3281802dc5b5495ea0cff94155af6d49.d0452297.id.opendns.com ( 278b3281802dc5b5495ea0cff94155af6d49.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=aa51dc5c0ccc5aad4_56fb6dc300e8a046230be27061796a12a169_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-- https://malware.opendns.com/index.php?X-OpenDNS-Session=aa51dc5c0ccc5aad4_56fb6dc300e8a046230be27061796a12a169_278b3281802dc5b5495ea0cff94155af6d49eb4d_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-nvt-feed-current.tar.bz2&proxy=y&origin=FQVoGQF8ABouBQpwGAgdFQ==&prefs=20544&tagging=0x5000002003bf,0xd400780000080001 [following] --2017-02-20 18:19:56-- https://malware.opendns.com/index.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.GeOdasxiTx/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 Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss