Hey, What do you make of this error with upgrade while running stable on amd64: It should be upgrading 0.97.6 to 0.97.7.
# aptitude safe-upgrade clamav-base Resolving dependencies... open: 2; closed: 2; defer: 0; conflict: 0 The following packages will be upgraded: clamav-daemon The following partially installed packages will be configured: clamav clamav-base 1 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/753 kB of archives. After unpacking 0 B will be used. Do you want to continue? [Y/n/?] Y Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done Preconfiguring packages ... export: 259: DatabaseOwner UpdateLogFile LogVerbose LogSyslog LogFacility LogFileMaxSize LogTime Foreground Debug MaxAttempts DatabaseDirectory DNSDatabaseInfo AllowSupplementaryGroups PidFile ConnectTimeout ReceiveTimeout TestDatabases ScriptedUpdates CompressLocalDatabase Bytecode Checks DatabaseMirror DatabaseMirror: bad variable name clamav-freshclam failed to preconfigure, with exit status 2 (Reading database ... 45538 files and directories currently installed.) Preparing to replace clamav-daemon 0.97.6+dfsg-1~squeeze1 (using .../clamav-daemon_0.97.7+dfsg-1~squeeze1_amd64.deb) ... export: 283: LocalSocket FixStaleSocket LocalSocketGroup LocalSocketMode OLE2BlockMacros User AllowSupplementaryGroups ScanMail ScanArchive ArchiveBlockEncrypted MaxDirectoryRecursion FollowDirectorySymlinks FollowFileSymlinks ReadTimeout MaxThreads MaxConnectionQueueLength LogSyslog LogFacility LogClean LogVerbose PidFile DatabaseDirectory SelfCheck Foreground Debug ScanPE ScanOLE2 ScanHTML DetectBrokenExecutables ExitOnOOM LeaveTemporaryFiles AlgorithmicDetection ScanELF IdleTimeout PhishingSignatures PhishingScanURLs PhishingAlwaysBlockSSLMismatch PhishingAlwaysBlockCloak DetectPUA ScanPartialMessages HeuristicScanPrecedence StructuredDataDetection LogFile: bad variable name invoke-rc.d: initscript clamav-daemon, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... export: 283: LocalSocket FixStaleSocket LocalSocketGroup LocalSocketMode OLE2BlockMacros User AllowSupplementaryGroups ScanMail ScanArchive ArchiveBlockEncrypted MaxDirectoryRecursion FollowDirectorySymlinks FollowFileSymlinks ReadTimeout MaxThreads MaxConnectionQueueLength LogSyslog LogFacility LogClean LogVerbose PidFile DatabaseDirectory SelfCheck Foreground Debug ScanPE ScanOLE2 ScanHTML DetectBrokenExecutables ExitOnOOM LeaveTemporaryFiles AlgorithmicDetection ScanELF IdleTimeout PhishingSignatures PhishingScanURLs PhishingAlwaysBlockSSLMismatch PhishingAlwaysBlockCloak DetectPUA ScanPartialMessages HeuristicScanPrecedence StructuredDataDetection LogFile: bad variable name invoke-rc.d: initscript clamav-daemon, action "stop" failed. dpkg: error processing /var/cache/apt/archives/clamav-daemon_0.97.7+dfsg-1~squeeze1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 2 configured to not write apport reports export: 283: LocalSocket FixStaleSocket LocalSocketGroup LocalSocketMode OLE2BlockMacros User AllowSupplementaryGroups ScanMail ScanArchive ArchiveBlockEncrypted MaxDirectoryRecursion FollowDirectorySymlinks FollowFileSymlinks ReadTimeout MaxThreads MaxConnectionQueueLength LogSyslog LogFacility LogClean LogVerbose PidFile DatabaseDirectory SelfCheck Foreground Debug ScanPE ScanOLE2 ScanHTML DetectBrokenExecutables ExitOnOOM LeaveTemporaryFiles AlgorithmicDetection ScanELF IdleTimeout PhishingSignatures PhishingScanURLs PhishingAlwaysBlockSSLMismatch PhishingAlwaysBlockCloak DetectPUA ScanPartialMessages HeuristicScanPrecedence StructuredDataDetection LogFile: bad variable name invoke-rc.d: initscript clamav-daemon, action "start" failed. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 2 Preparing to replace clamav-freshclam 0.97.6+dfsg-1~squeeze1 (using .../clamav-freshclam_0.97.6+dfsg-1~squeeze1_amd64.deb) ... export: 266: DatabaseOwner UpdateLogFile LogVerbose LogSyslog LogFacility LogFileMaxSize LogTime Foreground Debug MaxAttempts DatabaseDirectory DNSDatabaseInfo AllowSupplementaryGroups PidFile ConnectTimeout ReceiveTimeout TestDatabases ScriptedUpdates CompressLocalDatabase Bytecode Checks DatabaseMirror DatabaseMirror: bad variable name invoke-rc.d: initscript clamav-freshclam, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... export: 266: DatabaseOwner UpdateLogFile LogVerbose LogSyslog LogFacility LogFileMaxSize LogTime Foreground Debug MaxAttempts DatabaseDirectory DNSDatabaseInfo AllowSupplementaryGroups PidFile ConnectTimeout ReceiveTimeout TestDatabases ScriptedUpdates CompressLocalDatabase Bytecode Checks DatabaseMirror DatabaseMirror: bad variable name invoke-rc.d: initscript clamav-freshclam, action "stop" failed. dpkg: error processing /var/cache/apt/archives/clamav-freshclam_0.97.6+dfsg-1~squeeze1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 2 configured to not write apport reports export: 259: DatabaseOwner UpdateLogFile LogVerbose LogSyslog LogFacility LogFileMaxSize LogTime Foreground Debug MaxAttempts DatabaseDirectory DNSDatabaseInfo AllowSupplementaryGroups PidFile ConnectTimeout ReceiveTimeout TestDatabases ScriptedUpdates CompressLocalDatabase Bytecode Checks DatabaseMirror DatabaseMirror: bad variable name dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/clamav-daemon_0.97.7+dfsg-1~squeeze1_amd64.deb /var/cache/apt/archives/clamav-freshclam_0.97.6+dfsg-1~squeeze1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up clamav-base (0.97.7+dfsg-1~squeeze1) ... ^Cdpkg: error processing clamav-base (--configure): subprocess installed post-installation script killed by signal (Interrupt) dpkg: dependency problems prevent configuration of clamav-daemon: clamav-daemon depends on clamav-base (= 0.97.6+dfsg-1~squeeze1); however: Version of clamav-base on system is 0.97.7+dfsg-1~squeeze1. dpkg: error processing clamav-daemon (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of clamav-freshclam: clamav-freshclam depends on clamav-base (>= 0.97.6+dfsg-1~squeeze1); however: Package clamav-base is not configured yet. dpkg: error processing clamav-freshclam (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of clamav: clamav depends on clamav-freshclam | clamav-data; however: Package clamav-freshclam is not configured yet. Package clamav-data is not installed. Package clamav-freshclam which provides clamav-data is not configured yet. dpkg: error processing clamav (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: clamav-base clamav-daemon clamav-freshclam clamav Clam has been running fine for quite awhile with the current config file. Other than attempting this update, the only related change lately was an upgrade to scamp 5.4 for the SaneSecurity third party sigs. Clamav is still running at this time with the slightly older version, thankfully.