[pkg-apparmor] Packages fail to install when apparmor_parser fails to remove policies

Nicolas Braud-Santoni nicolas at braud-santoni.eu
Tue Feb 23 20:29:22 UTC 2016


Hi,

In the process of upgrading from Jessie to Stretch, I hit the following issue:

> Preparing to unpack .../openntpd_1%3a5.7p4-2_amd64.deb ...
> apparmor_parser: Unable to remove "/usr/sbin/ntpd".  Profile doesn't exist
> dpkg: error processing archive /var/cache/apt/archives/openntpd_1%3a5.7p4-2_amd64.deb (--unpack):
>  subprocess new pre-installation script returned error exit status 254

I disabled the usr.sbin.ntpd policy because of bug #805183.


Failing to upgrade packages for which the user disabled the policy -- I assume
  the issue would occur for packages that have no policy in stable -- is not
  the desired behaviour.

Unfortunately, I'm not even sure where to start looking to fix this  :V


Best,

  nicoo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-apparmor-team/attachments/20160223/5cf1216c/attachment.sig>


More information about the pkg-apparmor-team mailing list