tags 298825 -unreproducable +patch retitle 298825 fuse-utils does not remove dpkg-statoverride on remove even if configured to remove group thanks
I can reproduce this problem by removing the fuse-utils package instead of purging it. This is because the package only removes the statoverride when the package is purged. Here's an untested patch to fix this: --- fuse-utils.postrm.old 2005-04-13 13:31:12.031692168 +0100 +++ fuse-utils.postrm 2005-04-13 13:37:38.517937328 +0100 @@ -11,7 +11,13 @@ dpkg-statoverride --remove /usr/bin/fusermount 2>/dev/null || true ;; - failed-upgrade|remove|upgrade) + failed-upgrade|upgrade) + ;; + + remove) + if is_true $FUSE_GROUPDELETE && [[ -n $FUSE_GROUP ]]; then + dpkg-statoverride --remove /usr/bin/fusermount 2>/dev/null || true + fi ;; *) Another thought: would it make more sense to only remove the group on purge (and avoid a question at config time)? Thanks, Euan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]