Package: clamav-freshclam Version: 0.90.1-2 Severity: normal Unpacking replacement clamav-base ... Preparing to replace clamav-freshclam 0.90.1-1 (using .../clamav-freshclam_0.90.1-2_i386.deb) ... Stopping ClamAV virus database updater: freshclam/etc/init.d/clamav-freshclam: line 188: kill: -14759 5607 29342: arguments must be process or job IDs failed! Unpacking replacement clamav-freshclam ...
I can reproduce this stopping the init script at the command line. Looks like what's going on is the system does not have a /var/run/clamav/freshclam.pid, so it calls PID=`pidofproc $DAEMON` Which returns several pids [EMAIL PROTECTED]:~$ pidofproc /usr/bin/freshclam 14759 5607 29342 Then it prefixes it with a dash to try and kill process goups: kill -15 -"$PID" Here are the processes I had running: 29342 ? Ss 0:17 /usr/bin/freshclam -pa/var/run/clamav/freshclam.pid -d --quiet 5607 ? Ss 0:01 /usr/bin/freshclam -d --quiet 14759 ? Ss 0:03 /usr/bin/freshclam -d --quiet -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-xen-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages clamav-freshclam depends on: ii clamav-base 0.90.1-2 base package for clamav, an anti-v ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii debianutils 2.18 Miscellaneous utilities specific t ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libclamav2 0.90.1-2 virus scanner library ii logrotate 3.7.1-3 Log rotation utility ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip ii ucf 2.0020 Update Configuration File: preserv ii zlib1g 1:1.2.3-13 compression library - runtime clamav-freshclam recommends no packages. -- debconf information excluded -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]