[debian-mysql] Bug#985870: Bug#985870: mariadb-server-10.5: unowned files after purge (policy 6.8, 10.8): /usr/share/mysql/debian-10.5.flag

Otto Kekäläinen otto at debian.org
Mon May 3 04:18:18 BST 2021


Hello!

Upstream packaging seems to have introduced this line 9 years ago:
https://github.com/MariaDB/server/commit/cfd4fcb0bc3d469dfca74dae30d17250d65fdd91#diff-733e7d6cfbf529c0530e7b06c97071e2c7dafa6d8b673495fecdce3f1d57015bR139

> # To avoid downgrades.
> touch $mysql_statedir/debian-5.5.flag

Seems very unnecessary for me. The flag thing is used by both MariaDB
and MySQL packaging in Debian/Ubuntu, and it is put in the
/var/lib/mysql datadir. This statedir seems completely unnecessary. I
would guess you can remove the 'touch $mysql_statedir'.



More information about the pkg-mysql-maint mailing list