I can confirm this is an issue for mysql-8.4 in Ubuntu and mysql-8.0 in
Debian, likely due to the update of the postinst file in December that
protected mariadb's /var/lib/mysql directory from deletion when
installing mysql instead. I see the failure if mariadb is installed, and
even when mariadb-server and mariadb-client are removed first. However,
if I remove mariadb-common beforehand, then the installation succeeds.
So this may be fixed by adding mariadb-common to the conflicts list.

I've created a new bug for this in case it is a different issue from
this one -
https://bugs.launchpad.net/ubuntu/+source/mysql-8.4/+bug/2111855

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110059

Title:
  package mysql-server 8.4.5-0ubuntu0.1 failed to install/upgrade:
  installed mysql-server package post-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.4/+bug/2110059/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to