[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#679873: lsb-base: Can't open /lib/lsb/init-functions



Package: lsb-base
Version: 4.1+Debian7
Severity: critical

Hi,

I've seen this on my laptop and now on my workstation too:
| Preparing to replace clamav-freshclam 0.97.5+dfsg-2 (using
|   .../clamav-freshclam_0.97.5+dfsg-3_i386.deb) ...
| /etc/init.d/clamav-freshclam: 264: .: Can't open /lib/lsb/init-functions
| 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 ...
| /etc/init.d/clamav-freshclam: 264: .: Can't open /lib/lsb/init-functions
| invoke-rc.d: initscript clamav-freshclam, action "stop" failed.
| dpkg: error processing /var/cache/apt/archives/clamav-freshclam_0.97.5+dfsg-3_i386.deb (--unpack):
| subprocess new pre-removal script returned error exit status 2
| Errors were encountered while processing:
| /var/cache/apt/archives/clamav-freshclam_0.97.5+dfsg-3_i386.deb

Indeed, that file doesn't exist:
| root@frost:~# ls /lib/lsb/
| init-functions.d  init-functions.systemd

This breaks any script (including those from init.d) that use LSB functions.

Feel free to reassing to «systemd» if you consider appropriate.

Thanks

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



Reply to: