Comment 2 for bug 1490071

Revision history for this message
Robie Basak (racb) wrote : Re: package mysql-server-5.6 5.6.25-0ubuntu0.15.04.1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Unfortunately crossgrading from Oracle MySQL 5.6 to MariaDB 10.0 makes changes to the database in /var/lib/mysql/ that cannot be undone automatically, and we don't currently have a technical solution to this. You will need to fix this situation up manually.

IMHO, this is an interaction between MySQL and MariaDB that I think needs to be undone. MariaDB shouldn't write to /var/lib/mysql/ if it is going to make incompatible changes there. Instead it should use /var/lib/mariadb/ or something. I have proposed a solution previously on the pkg-mysql-maint list, but we have been working on other requirements to make a proper fix work first. We're not quite finished with the transition yet (mostly waiting on me), but let's keep this bug open to track this item.