I am working to finally resolve this bug since it has haunted the mysql package for so long. I have created a PR here that generally matches mariadb's methods of handling the conflict in the preinst and postrm files. https://salsa.debian.org/mariadb-team/mysql/-/merge_requests/75