Bug#565171: mediatomb-daemon: statoverride problem causes purging to fail
Håkon Stordahl
hakon at stordahl.org
Wed Jan 13 17:01:04 UTC 2010
Package: mediatomb-daemon
Version: 0.12.0~svn2018-4
Severity: normal
Hi. Purging of mediatomb-daemon fails:
$ dpkg -P mediatomb-daemon
(Reading database ... 341809 files and directories currently installed.)
Removing mediatomb-daemon ...
Purging configuration files for mediatomb-daemon ...
/usr/sbin/deluser: The user `mediatomb' does not exist.
The group `mediatomb' does not exist.
dpkg-statoverrides: unrecoverable fatal error, aborting:
syntax error: unknown user 'mediatomb' in statoverride file
dpkg: error processing mediatomb-daemon (--purge):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
mediatomb-daemon
As the error messages indicate this is apparently because the mediatomb
user and group are deleted before the statoverrides in the postrm
script. The following simple patch appears to fix the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mediatomb-0.12.0~svn2018-4_postrm.diff
Type: text/x-diff
Size: 561 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100113/d277cbcb/attachment-0001.diff>
-------------- next part --------------
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages mediatomb-daemon depends on:
ii adduser 3.112 add and remove users and groups
pn mediatomb-common <none> (no description available)
mediatomb-daemon recommends no packages.
mediatomb-daemon suggests no packages.
More information about the pkg-multimedia-maintainers
mailing list