> but `akonadictl stop` for each user after connecting to their dbus session > should do it from a technical point of view. > Maybe first diverting some files to prevent the user from starting them up > again, and then diverting back once upgraded. > > > But all of this is a bit euww.
If you ship in Akonadi a facility that does the above and has some sorts of "API" to call, I can modify the MariaDB maintainer scripts to call it. Regardless if you do a technical fix for this or not, you could submit an addition to the release notes similar to what I did in https://salsa.debian.org/ddp-team/release-notes/-/merge_requests/197 and explain to Akonadi/KDE users, that before doing the Bookworm -> Trixie upgrade they should maybe log out all users and as a single root user session run the `apt upgrade`?