Hi Holger,

Holger Levsen wrote (25 Oct 2014 14:00:22 GMT) :
> 0m32.3s ERROR: FAIL: Package purging left files on system:
>   /etc/apparmor.d/       owned by: libapache2-mod-apparmor
>   /etc/apparmor.d/disable/       not owned

May you please test if the attached patch fixes this bug?

=== modified file 'debian/debhelper/postrm-apparmor'
--- debian/debhelper/postrm-apparmor	2012-06-11 21:40:33 +0000
+++ debian/debhelper/postrm-apparmor	2014-11-10 16:56:10 +0000
@@ -2,5 +2,7 @@
     rm -f "/etc/apparmor.d/disable/#PROFILE#" || true
     rm -f "/etc/apparmor.d/force-complain/#PROFILE#" || true
     rm -f "/etc/apparmor.d/local/#PROFILE#" || true
-    rmdir /etc/apparmor.d/local 2>/dev/null || true
+    rmdir /etc/apparmor.d/disable 2>/dev/null || true
+    rmdir /etc/apparmor.d/local   2>/dev/null || true
+    rmdir /etc/apparmor.d         2>/dev/null || true
 fi

Reply via email to