[pkg-apparmor] Bug#1155112: Bug#1155112: apparmor: Error message on installation
Eric Valette
eric.valette at free.fr
Thu Nov 26 14:36:14 GMT 2026
On 11/26/26 14:43, intrigeri wrote:
> IIRC an obsolete conffile would produce the exact same output, so that
> might still be consistent with my hypothesis.
Never seen stale file still referenced in dpkg -L or via dpkg -S before.
On my system :
grep apparmor /var/lib/dpkg/info/mariadb-server.list
/etc/apparmor.d
/etc/apparmor.d/mariadbd
/etc/apparmor.d/usr.sbin.mariadbd <==========
But yes, I removed the offending file and reinstalled mariadb-server and
file is gone.
apt install --reinstall mariadb-server
...
Préparation du dépaquetage de
.../mariadb-server_1%3a11.8.9+ds-4_amd64.deb ...
/var/lib/mysql: found previous version 11.8
Dépaquetage de mariadb-server (1:11.8.9+ds-4) sur (1:11.8.9+ds-4) ...
Paramétrage de mariadb-server (1:11.8.9+ds-4) .
So I had the same package already installed and do not know how the
.list file could contain wrong information...
>
> I'd love to see the output of:
>
> dpkg -s mariadbd-server
You have the equivalent above if it is just to see the version...
and yes you indeed have the line:
/etc/apparmor.d/mariadbd and not /etc/apparmor.d/usr.sbin.mariadbd
> Finally, one general comment: I feel my work is slightly disrespected
> here.
Well you know I use debian for more than 25 years and believed I knew
how to find staled file. Apparently not.
--
Eric Valette
More information about the pkg-apparmor-team
mailing list