[Pkg-virtualbox-devel] Bug#462885: postrm fails, if vboxusers group is not a system group
Daniel Hahler
debian-bugs at thequod.de
Sun Jan 27 22:47:47 UTC 2008
Package: virtualbox-ose
Severity: important
Tags: patch
Version: 1.5.4-dfsg-4
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch
--- Please enter the report below this line. ---
Somehow I've managed to have a vboxusers group, which is not system group.
In this case, the postrm of virtualbox-ose fails, because
/usr/sbin/delgroup --quiet --system vboxusers
returns error status 3 and the postrm script uses "set -e".
This prevents the package from being purged.
The attached patch fixes this, by using "|| true" to ignore the error.
--
http://daniel.hahler.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtualbox-ose-ignore-delgroup-error-in-postrm.diff
Type: text/x-diff
Size: 473 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20080127/8a448e56/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20080127/8a448e56/attachment.pgp
More information about the Pkg-virtualbox-devel
mailing list