Thanks for reporting this!
There were Breaks/Replaces in place but they had a typo in version string. Fixed now, and also ran the check_for_missing_breaks.py script to with all previous versions ever released of MariaDB to ensure all scenarios are covered: https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/db83a5a4112f6151d0d86d25adfe34be9329b841