Package: mcelog
Version: 0.8~pre-7
Severity: normal
Hi,
when /var/lib/mcelog is empty at the time your purge the package, it gets
deleted first by dpkg, and then postrm fails here:
rmdir --ignore-fail-on-non-empty /var/lib/mcelog
Imho, you should check for that situation like so "=>":
if [ "$1" = "purge" ]; then
rm -f /etc/mcelog-disabled
=> if [ -d /var/lib/mcelog ]; then
=> rm -f /var/lib/mcelog/memory-errors
=> rmdir --ignore-fail-on-non-empty /var/lib/mcelog
=> fi
rm -f /var/log/mcelog /var/log/mcelog.*
fi
Thanks,
Stephan
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (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/bash
Versions of packages mcelog depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii libc6 2.7-16 GNU C Library: Shared libraries
ii makedev 2.3.1-88 creates device files in /dev
ii udev 0.125-7 /dev/ and hotplug management daemo
mcelog recommends no packages.
mcelog suggests no packages.
-- debconf information excluded
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]