Hi! I suggested in my mail on Feb 28th to have this in the MariaDB preinstall:
pgrep -u root,mysql -x --nslist pid --ns $$ "mysqld|mariadbd" It would safely shut down the Akonadi server before MariaDB goes into update and the binary it uses vanishes for a while. However I never got any confirmation/support for this, so I didn't proceed with it. If you want to contribute in the open source way to fix this or any other issue, see https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/Contributing-to-MariaDB-packaging-in-Debian on how to submit a Merge Request! The places you would want to modify are: https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/mariadb-server.preinst#L31 https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/mariadb-server.postrm#L17