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

Teodor <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <20120702080931.1206.38109.reportbug__24348.9801454873$1341216741$gmane$org@frost.museglobal.ro>
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



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.