Package: virtualbox-ose Severity: important Tags: patch Version: 1.5.4-dfsg-4 User: [EMAIL PROTECTED] 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/
--- debian/virtualbox-ose.postrm.orig 2008-01-27 23:19:43.776945379 +0100 +++ debian/virtualbox-ose.postrm 2008-01-27 23:38:25.748944708 +0100 @@ -7,7 +7,9 @@ # Removing vboxusers group if [ -x /usr/sbin/delgroup ] then - delgroup --quiet --system vboxusers + # delgroup may return error status 3 if there is a non-system group + # "vboxusers". The postrm should not fail in this case! + /usr/sbin/delgroup --quiet --system vboxusers || true fi ;;
signature.asc
Description: This is a digitally signed message part.

