Hi,

Bas Couwenberg (2026-10-31):
> The package fails to upgrade:
>
> Unpacking apparmor (5.0.2-5) over (4.1.8-3+b1)…
> dpkg: error processing archive 
> /tmp/apt-dpkg-install-BAyZA6/012-apparmor_5.0.2-5_amd64.deb (--unpack):
>  trying to overwrite '/etc/apparmor.d/tunables/ntpd', which is also in 
> package ntpsec (1.2.5+dfsg-1)
> dpkg: executing new apparmor package postrm maintainer script for 
> abort-upgrade ...
> Reinstalling /etc/apparmor.d/busybox that was moved away
> Reinstalling /etc/apparmor.d/nautilus that was moved away
> Reinstalling /etc/apparmor.d/toybox that was moved away
> dpkg: executing old apparmor package postinst maintainer script for 
> abort-upgrade ...

Thanks for the bug report!

> The file likely needs to be excluded from apparmor, or moved from ntpsec with 
> appropriate Breaks/Replaces.

Agreed. I've filed #1152846 (with an untested patch) to start
implementing the latter.

Cheers,
-- 
intrigeri

Reply via email to