Your message dated Sun, 09 Apr 2006 08:02:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#270680: fixed in uml-utilities 20060323-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: uml-utilities
Version: 20040406-1
Hi,
I purged uml-utilities and then removed the uml-net user and group on my
debian system. On the next use of dpkg (or apt) I got the following error:
...
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
dpkg: syntax error: unknown group `uml-net' in statusoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
This makes dpkg / apt useless (if the user does not know how to fix it)
I analysed this problem and saw that a statoverride entry for the uml_net
binary will be created by postinst at installation time...
But there is no postrm script that removes the statoverride entry on a
remove/purge. For the user/group: uml-net exists the same problem, they get
never removed.
I patched uml-utilities so it deletes the statoverride entry on a remove and
additionally the user/group: uml-net will be deleted on a purge.
I think if someone removes the uml-utilities package, he should be able to
delete the uml-net user/group without breaking anything.
I looked in some other postrm's and noticed that postfix acts equal to my
patch. So I hope my patch is acceptable...
--Ralph
diff -Naur uml-utilities-20040406.old/debian/postrm uml-utilities-20040406/debian/postrm
--- uml-utilities-20040406.old/debian/postrm 1970-01-01 01:00:00.000000000 +0100
+++ uml-utilities-20040406/debian/postrm 2004-09-08 18:56:59.000000000 +0200
@@ -0,0 +1,36 @@
+#! /bin/sh
+
+set -e
+
+# Debian uml-utilities postrm
+
+# Ralph Passgang <[EMAIL PROTECTED]>
+
+case "$1" in
+ remove)
+ if dpkg-statoverride --list /usr/lib/uml/uml_net >/dev/null; then
+ dpkg-statoverride --remove /usr/lib/uml/uml_net
+ fi
+
+ if dpkg-statoverride --list /var/run/uml-utilities >/dev/null; then
+ dpkg-statoverride --remove /var/run/uml-utilities
+ fi
+ ;;
+
+ upgrade)
+ ;;
+
+ purge)
+ userdel uml-net >/dev/null 2>&1 || true
+ groupdel uml-net >/dev/null 2>&1 || true
+ ;;
+
+ failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+#DEBHELPER#
--- End Message ---
--- Begin Message ---
Source: uml-utilities
Source-Version: 20060323-1
We believe that the bug you reported is fixed in the latest version of
uml-utilities, which is due to be installed in the Debian FTP archive:
uml-utilities_20060323-1.diff.gz
to pool/main/u/uml-utilities/uml-utilities_20060323-1.diff.gz
uml-utilities_20060323-1.dsc
to pool/main/u/uml-utilities/uml-utilities_20060323-1.dsc
uml-utilities_20060323-1_i386.deb
to pool/main/u/uml-utilities/uml-utilities_20060323-1_i386.deb
uml-utilities_20060323.orig.tar.gz
to pool/main/u/uml-utilities/uml-utilities_20060323.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Dongili <[EMAIL PROTECTED]> (supplier of updated uml-utilities package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 08 Apr 2006 18:58:22 +0200
Source: uml-utilities
Binary: uml-utilities
Architecture: source i386
Version: 20060323-1
Distribution: unstable
Urgency: low
Maintainer: User Mode Linux Developers <[EMAIL PROTECTED]>
Changed-By: Mattia Dongili <[EMAIL PROTECTED]>
Description:
uml-utilities - User-mode Linux (utility programs)
Closes: 231265 236467 270680 280392 326287
Changes:
uml-utilities (20060323-1) unstable; urgency=low
.
[Mattia Dongili]:
* moved Stefano Melchior to Uploaders and using [EMAIL PROTECTED] as
Maintainer.
* added myself and Andreas Schuldei as Uploaders.
* uml_router vanished together with the core file in uptream source
package. (Closes: #280392)
* remove dpkg-statoverride entry on remove/purge of the package.
(Closes: #270680)
* provide an option to prevent uml_switch from starting. (Closes: #231265)
* some debian/rules cleanup and a non-POSIX shell code fix.
* converted changelog to UTF8.
.
uml-utilities (20060110-1) unstable; urgency=low
.
* Fixed libreadline5-dev build dependency (closes: #326287)
* Fixed space left on daemon stoping from Loic Minier <[EMAIL PROTECTED]>>
(closes: #236467)
Files:
2c9ace97f0c021f6be2130bef3a4cefb 818 otherosfs extra
uml-utilities_20060323-1.dsc
a62609f10aea40ebcb79893136fe6868 53648 otherosfs extra
uml-utilities_20060323.orig.tar.gz
58fdf9fb5dc75dbd2d4155d79c5d78f9 11498 otherosfs extra
uml-utilities_20060323-1.diff.gz
11c623c091b521e585edfca685c286f1 46622 otherosfs extra
uml-utilities_20060323-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEOR1jgpRPaOotLEERAicOAJ4jz2N5GPCV9r2Z19p0OMJEzIDq2ACfejjf
U9ZC/20FPNWcr4hbYJnPCU0=
=bxxx
-----END PGP SIGNATURE-----
--- End Message ---