Bug#829035: game-data-packager: postinstall fails with "aa-enabled: not found"

Simon McVittie smcv at debian.org
Tue Jul 19 15:52:07 UTC 2016


Control: forcemerge 828795 829035
Control: affects 828795 game-data-packager

On Tue, 19 Jul 2016 at 17:12:16 +0200, Ahmed Baïzid wrote:
>   /var/lib/dpkg/info/game-data-packager.postinst: 22: /var/lib/dpkg/info/game-
> data-packager.postinst: aa-enabled: not found

This warning is harmless. The fact that it is not silenced was a bug in
AppArmor, which has now been fixed (but game-data-packager won't pick up
the fix until next time it is released, because of the way debhelper-managed
maintainer scripts work).

It is not true that the postinst fails: if it did, you would see messages
like "subprocess installed post-installation script returned error exit
status 1".

> game-data-packager should install-depend on apparmor.

It definitely shouldn't do that. Nobody should install the apparmor
package unless they actually want to use the apparmor LSM.

    S



More information about the Pkg-games-devel mailing list