> [ Patrick Winnertz ] > * Fix error of postrm if vboxusers is a non-system group (maybe added > manually before installation of virtualbox-ose). (Closes: #462885)
At least I was experiencing a bug also worked around by this change in that the debconf exec triggers a second purge: Purge des fichiers de configuration de virtualbox-ose ... + set -e + [ -x /usr/sbin/delgroup ] + delgroup --quiet --system vboxusers + which update-menus + [ -x ] + [ purge = purge ] + [ -e /usr/share/debconf/confmodule ] + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /var/lib/dpkg/info/virtualbox-ose.postrm purge + set -e + [ -x /usr/sbin/delgroup ] + delgroup --quiet --system vboxusers dpkg : erreur de traitement de virtualbox-ose (--purge) : le sous-processus post-removal script a retourné une erreur de sortie d'état 3 Des erreurs ont été rencontrées pendant l'exécution : virtualbox-ose So this is not just to take care of local groups, but required in all cases; I'm surprized the maintainers were not affected by this bug. The fix could be improve to simply remove the group if it's present instead of ignoring delgroup failures. delgroup might fail for other reasons which might be worth blocking the removal... -- Loïc Minier

