[Pkg-clamav-devel] Bug#741675: clamav-base: Missing quoting and bogus generated config file

Juhani Karlsson juhani.karlsson at lrdlnx.iki.fi
Sun Mar 16 08:22:31 UTC 2014


returned to older version and everything works:

root at abcdefg:~/temppi# apt-get remove clamav clamav-base clamav-daemon 
clamav-docs clamav-freshclam libclamav6 --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
   clamav* clamav-base* clamav-daemon* clamav-docs* clamav-freshclam* 
libclamav6*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 15,8 MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 267059 files and directories currently installed.)
Removing clamav ...
Removing clamav-daemon ...
[ ok ] Stopping ClamAV daemon: clamd.
Purging configuration files for clamav-daemon ...
Removing clamav-freshclam ...
[ ok ] Stopping ClamAV virus database updater: freshclam.
Purging configuration files for clamav-freshclam ...
Removing clamav-base ...
Purging configuration files for clamav-base ...
Removing clamav-docs ...
Removing libclamav6 ...
Purging configuration files for libclamav6 ...
Processing triggers for man-db ...
root at abcdefg:~/temppi# find /etc/ -name '*clam*'
/etc/logwatch/conf/logfiles/clam-update.conf
root at abcdefg:~/temppi#
root at abcdefg:~/temppi#
root at abcdefg:~/temppi#
root at abcdefg:~/temppi#
root at abcdefg:~/temppi#
root at abcdefg:~/temppi#
root at abcdefg:~/temppi#
root at abcdefg:~/temppi#
root at abcdefg:~/temppi#
root at abcdefg:~/temppi# ll
total 6,8M
drwxr-xr-x  2 root root 4,0K maali 16 10:15 .
drwxr-x--- 55 root root 4,0K helmi 19 18:40 ..
-rw-r--r--  1 root root 328K huhti 25  2013 clamav_0.97.8+dfsg-1_i386.deb
-rw-r--r--  1 root root 302K huhti 25  2013 
clamav-base_0.97.8+dfsg-1_all.deb
-rw-r--r--  1 root root 420K huhti 25  2013 
clamav-daemon_0.97.8+dfsg-1_i386.deb
-rw-r--r--  1 root root 1,3M huhti 25  2013 
clamav-docs_0.97.8+dfsg-1_all.deb
-rw-r--r--  1 root root 315K huhti 25  2013 
clamav-freshclam_0.97.8+dfsg-1_i386.deb
-rw-r--r--  1 root root 4,2M huhti 25  2013 
libclamav6_0.97.8+dfsg-1_i386.deb
root at abcdefg:~/temppi# dpkg -i *deb
Selecting previously unselected package clamav.
(Reading database ... 266865 files and directories currently installed.)
Unpacking clamav (from clamav_0.97.8+dfsg-1_i386.deb) ...
Selecting previously unselected package clamav-base.
Unpacking clamav-base (from clamav-base_0.97.8+dfsg-1_all.deb) ...
Selecting previously unselected package clamav-daemon.
Unpacking clamav-daemon (from clamav-daemon_0.97.8+dfsg-1_i386.deb) ...
Selecting previously unselected package clamav-docs.
Unpacking clamav-docs (from clamav-docs_0.97.8+dfsg-1_all.deb) ...
Selecting previously unselected package clamav-freshclam.
Unpacking clamav-freshclam (from 
clamav-freshclam_0.97.8+dfsg-1_i386.deb) ...
Selecting previously unselected package libclamav6.
Unpacking libclamav6 (from libclamav6_0.97.8+dfsg-1_i386.deb) ...
Setting up clamav-base (0.97.8+dfsg-1) ...
Setting up clamav-docs (0.97.8+dfsg-1) ...
Setting up libclamav6 (0.97.8+dfsg-1) ...
Processing triggers for man-db ...
Setting up clamav-freshclam (0.97.8+dfsg-1) ...
[ ok ] Starting ClamAV virus database updater: freshclam.
Setting up clamav (0.97.8+dfsg-1) ...
Setting up clamav-daemon (0.97.8+dfsg-1) ...
[FAIL] Clamav signatures not found in /var/lib/clamav ... failed!
[FAIL] Please retrieve them using freshclam ... failed!
[FAIL] Then run '/etc/init.d/clamav-daemon start' ... failed!
root at abcdefg:~/temppi# freshclam --verbose
Current working dir is /var/lib/clamav
Max retries == 5
ClamAV update process started at Sun Mar 16 10:16:34 2014
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 43
Software version from DNS: 0.98.1
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97.8 Recommended version: 0.98.1
DON'T PANIC! Read http://www.clamav.net/support/faq
Retrieving http://db.fi.clamav.net/main.cvd
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.fi.clamav.net (IP: 212.7.0.71)
Trying host db.fi.clamav.net (62.245.181.53)...
Trying to download http://db.fi.clamav.net/main.cvd (IP: 62.245.181.53)
Downloading main.cvd [100%]
Loading signatures from main.cvd
Properly loaded 2424225 signatures from new main.cvd
main.cvd updated (version: 55, sigs: 2424225, f-level: 60, builder: neo)
Querying main.55.69.1.0.62.245.181.53.ping.clamav.net
Retrieving http://db.fi.clamav.net/daily.cvd
Trying to download http://db.fi.clamav.net/daily.cvd (IP: 62.245.181.53)
Downloading daily.cvd [100%]
Loading signatures from daily.cvd
Properly loaded 824404 signatures from new daily.cvd
daily.cvd updated (version: 18606, sigs: 824404, f-level: 63, builder: neo)
Querying daily.18606.69.1.0.62.245.181.53.ping.clamav.net
Retrieving http://db.fi.clamav.net/bytecode.cvd
Trying to download http://db.fi.clamav.net/bytecode.cvd (IP: 62.245.181.53)
Downloading bytecode.cvd [100%]
Loading signatures from bytecode.cvd
Properly loaded 43 signatures from new bytecode.cvd
bytecode.cvd updated (version: 236, sigs: 43, f-level: 63, builder: 
dgoddard)
Querying bytecode.236.69.1.0.62.245.181.53.ping.clamav.net
Database updated (3248672 signatures) from db.fi.clamav.net (IP: 
62.245.181.53)
WARNING: Clamd was NOT notified: Can't connect to clamd through 
/var/run/clamav/clamd.ctl
connect(): No such file or directory
root at abcdefg:~/temppi# /etc/init.d/clamav-daemon start
[ ok ] Starting ClamAV daemon: clamd .
root at abcdefg:~/temppi# freshclam --verbose
Current working dir is /var/lib/clamav
Max retries == 5
ClamAV update process started at Sun Mar 16 10:19:52 2014
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1773
Software version from DNS: 0.98.1
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97.8 Recommended version: 0.98.1
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd version from DNS: 55
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, 
builder: neo)
daily.cvd version from DNS: 18606
daily.cvd is up to date (version: 18606, sigs: 824404, f-level: 63, 
builder: neo)
bytecode.cvd version from DNS: 236
bytecode.cvd is up to date (version: 236, sigs: 43, f-level: 63, 
builder: dgoddard)
root at abcdefg:~/temppi#



More information about the Pkg-clamav-devel mailing list