Package: clamav Version: 0.98.1+dfsg-1+deb7u2 Followup-For: Bug #741675 This update also trashes the clamd.conf file, see below for its contents. I've had to manually insert it as it also seems to upset reportbug:
Gathering additional data, this may take a while... ERROR: Incorrect argument format for option LogRotate ERROR: Missing argument for option at line 10 Spawning sensible-editor... These are the messages I got from aptitude: Preparing to replace libclamav6 0.98.1+dfsg-1+deb7u1 (using .../libclamav6_0.98.1+dfsg-1+deb7u2_i386.deb) ... Unpacking replacement libclamav6 ... Preparing to replace clamav-daemon 0.98.1+dfsg-1+deb7u1 (using .../clamav-daemon_0.98.1+dfsg-1+deb7u2_i386.deb) ... [ ok ] Stopping ClamAV daemon: clamd Waiting . . . Unpacking replacement clamav-daemon ... 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_i386.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_i386.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-daemon (0.98.1+dfsg-1+deb7u2) ... [....] Starting ClamAV daemon: clamd ERROR: Incorrect argument format for option LogRotate ERROR: Can't open/parse the config file /etc/clamav/clamd.conf failed! Setting up clamav (0.98.1+dfsg-1+deb7u2) ... Restoring my old clamd.conf and freshclam.conf files from backups appears to allow clamav to work. Thanks, Roger -- Package-specific info: --- configuration --- Checking configuration files in /etc/clamav Config file: clamd.conf ----------------------- #Automatically Generated by clamav-base postinst #To reconfigure clamd run #dpkg-reconfigure clamav-base #Please read /usr/share/doc/clamav-base/README.Debian.gz for details LocalSocket /var/run/clamav/clamd.ctl FixStaleSocket true LocalSocketGroup clamav LocalSocketMode 666 # TemporaryDirectory is not set to its default /tmp here to make overriding # the default with environment variables TMPDIR/TMP/TEMP possible User clamav AllowSupplementaryGroups true ScanMail true ScanArchive true ArchiveBlockEncrypted false MaxDirectoryRecursion 30 FollowDirectorySymlinks false FollowFileSymlinks false ReadTimeout 180 MaxThreads 4 MaxConnectionQueueLength 8 LogSyslog false LogRotate 10 clamav-base/LogRotate doesn't exist LogFacility LOG_LOCAL6 LogClean false LogVerbose false PidFile /var/run/clamav/clamd.pid DatabaseDirectory /var/lib/clamav SelfCheck 3600 Foreground false Debug false ScanPE true MaxEmbeddedPE 10 clamav-base/MaxEmbeddedPE doesn't exist ScanOLE2 true ScanHTML true MaxHTMLNormalize 10 clamav-base/MaxHTMLNormalize doesn't exist MaxHTMLNoTags 10 clamav-base/MaxHTMLNoTags doesn't exist MaxScriptNormalize 10 clamav-base/MaxScriptNormalize doesn't exist MaxZipTypeRcg 10 clamav-base/MaxZipTypeRcg doesn't exist ScanSWF 10 clamav-base/ScanSWF doesn't exist DetectBrokenExecutables false ExitOnOOM false LeaveTemporaryFiles false AlgorithmicDetection true ScanELF true IdleTimeout 30 PhishingSignatures true PhishingScanURLs true PhishingAlwaysBlockSSLMismatch false PhishingAlwaysBlockCloak false DetectPUA false ScanPartialMessages false HeuristicScanPrecedence false StructuredDataDetection false CommandReadTimeout 5 SendBufTimeout 200 MaxQueue 100 ExtendedDetectionInfo true OLE2BlockMacros false ScanOnAccess 10 clamav-base/ScanOnAccess doesn't exist OnAccessIncludePath OnAccessExcludePath OnAccessMaxFileSize OnAccessExcludeUID AllowAllMatchScan 10 clamav-base/AllowAllMatchScan doesn't exist ForceToDisk 10 clamav-base/ForceToDisk doesn't exist DisableCertCheck 10 clamav-base/DisableCertCheck doesn't exist StreamMaxLength 50M LogFile /var/log/clamav/clamav.log LogTime true LogFileUnlock false LogFileMaxSize 0 Bytecode true BytecodeSecurity TrustSigned BytecodeTimeout 60000 OfficialDatabaseOnly false CrossFilesystems true Config file: 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 false 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 NotifyClamd /etc/clamav/clamd.conf # Check for new database 24 times a day Checks 24 DatabaseMirror db.uk.clamav.net DatabaseMirror database.clamav.net SubmitDetectionStats /etc/clamav/clamd.conf clamav-milter.conf not found Software settings ----------------- Version: 0.98.1 Optional features supported: MEMPOOL IPv6 FRESHCLAM_DNS_FIX AUTOIT_EA06 BZIP2 JIT Database information -------------------- Database directory: /var/lib/clamav/ WARNING: freshclam.conf and clamd.conf point to different database directories daily.cld: version 18609, sigs: 824724, built on Sun Mar 16 19:41:00 2014 bytecode.cld: version 236, sigs: 43, built on Wed Feb 5 17:36:14 2014 main.cld: version 55, sigs: 2424225, built on Tue Sep 17 15:57:28 2013 Total number of signatures: 3248992 Platform information -------------------- uname: Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.54-2 i686 OS: linux-gnu, ARCH: i386, CPU: i486 Full OS version: Debian GNU/Linux 7.4 (wheezy) zlib version: 1.2.7 (1.2.7), compile flags: 55 Triple: i386-pc-linux-gnu CPU: pentium3, Little-endian platform id: 0x0a114c4c0404070201040702 Build information ----------------- GNU C: 4.7.2 (4.7.2) GNU C++: 4.7.2 (4.7.2) CPPFLAGS: -D_FORTIFY_SOURCE=2 CFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall CXXFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall LDFLAGS: -Wl,-z,relro Configure: 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro' '--build=i486-linux-gnu' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-clamav' '--with-dbdir=/var/lib/clamav/' '--sysconfdir=/etc/clamav' '--enable-milter' '--disable-clamuko' '--with-gnu-ld' '--enable-dns-fix' '--disable-unrar' '--libdir=/usr/lib' '--with-system-tommath' '--without-included-ltdl' 'build_alias=i486-linux-gnu' sizeof(void*) = 4 Engine flevel: 76, dconf: 76 --- data dir --- total 211620 -rw-r--r-- 1 clamav clamav 345088 Feb 5 17:55 bytecode.cld -rw-r--r-- 1 clamav clamav 52868096 Mar 16 20:09 daily.cld -rw-r--r-- 1 clamav clamav 163468288 Sep 17 23:00 main.cld -rw------- 1 clamav clamav 260 Mar 16 20:09 mirrors.dat -- System Information: Debian Release: 7.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages clamav depends on: ii clamav-freshclam [clamav-data] 0.98.1+dfsg-1+deb7u2 ii libc6 2.13-38+deb7u1 ii libclamav6 0.98.1+dfsg-1+deb7u2 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages clamav recommends: ii clamav-base 0.98.1+dfsg-1+deb7u2 Versions of packages clamav suggests: pn clamav-docs <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org