[Pkg-clamav-devel] A possible bug when upgrading clamav packages today with "Starting ClamAV virus database updater: freshclamERROR: Missing argument for option at line 10" error.
Phillip Pi
philpi at earthlink.net
Sun Mar 16 17:55:44 UTC 2014
Dear Sir or Madam:
Hello.
I was just up(grad/dat)ing my Debian stable today and got this "...
Starting ClamAV virus database updater: freshclamERROR: Missing argument
for option at line 10..." error as shown below:
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
clamav clamav-base clamav-freshclam libclamav6
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,472 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/main
libclamav6 amd64 0.98.1+dfsg-1+deb7u2 [4,458 kB]
Get:2 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/main
clamav-base all 0.98.1+dfsg-1+deb7u2 [321 kB]
Get:3 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/main
clamav-freshclam amd64 0.98.1+dfsg-1+deb7u2 [335 kB]
Get:4 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/main
clamav amd64 0.98.1+dfsg-1+deb7u2 [358 kB]
Fetched 5,472 kB in 5s (1,084 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 249048 files and directories currently installed.)
Preparing to replace libclamav6 0.98.1+dfsg-1+deb7u1 (using
.../libclamav6_0.98.1+dfsg-1+deb7u2_amd64.deb) ...
Unpacking replacement libclamav6 ...
Preparing to replace clamav-base 0.98.1+dfsg-1+deb7u1 (using
.../clamav-base_0.98.1+dfsg-1+deb7u2_all.deb) ...
Unpacking replacement clamav-base ...
Preparing to replace clamav-freshclam 0.98.1+dfsg-1+deb7u1 (using
.../clamav-freshclam_0.98.1+dfsg-1+deb7u2_amd64.deb) ...
[ ok ] Stopping ClamAV virus database updater: freshclam.
Unpacking replacement clamav-freshclam ...
Preparing to replace clamav 0.98.1+dfsg-1+deb7u1 (using
.../clamav_0.98.1+dfsg-1+deb7u2_amd64.deb) ...
Unpacking replacement clamav ...
Processing triggers for man-db ...
Setting up libclamav6 (0.98.1+dfsg-1+deb7u2) ...
Setting up clamav-base (0.98.1+dfsg-1+deb7u2) ...
/var/lib/dpkg/info/clamav-base.postinst: 403: [: 10: unexpected operator
Replacing config file /etc/clamav/clamd.conf with new version
Setting up clamav-freshclam (0.98.1+dfsg-1+deb7u2) ...
/var/lib/dpkg/info/clamav-freshclam.postinst: 353: [: 10: unexpected
operator
Disabling old logrotate script for clamav-freshclam
Replacing config file /etc/clamav/freshclam.conf with new version
[....] Starting ClamAV virus database updater: freshclamERROR: Missing
argument for option at line 10
ERROR: Can't open/parse the config file /etc/clamav/freshclam.conf
failed!
Setting up clamav (0.98.1+dfsg-1+deb7u2) ...
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB
Total disk space freed by localepurge: 0 KiB
# cat /etc/clamav/freshclam.conf
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package
DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogRotate
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
PrivateMirror 10 clamav-base/PrivateMirror doesn't exist
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net
# ls -all /etc/clamav/freshclam.conf
-r--r--r-- 1 clamav adm 770 Mar 16 10:50 /etc/clamav/freshclam.conf
Is this a bug or something else? Thank you in advance. :)
Sincerely yours,
Phillip Pi
More information about the Pkg-clamav-devel
mailing list