[Bug 1490071] Re: MariaDB writes to /var/lib/mysql after crossgrade, preventing users from reverting to MySQL without manual intervention

Robie Basak 1490071 at bugs.launchpad.net
Tue Sep 1 14:18:21 UTC 2015


On Tue, Sep 01, 2015 at 01:38:26PM -0000, Otto Kekäläinen wrote:
> The bug is about the user experience: how users are notified what
> happens and how dpkg is aborted into a broken state.

I disagree. I'm treating this bug as tracking the fact that it cannot be
done, whereas I have proposed a mechanism by which it could be done.

I don't think it's acceptable for a crossgrade from MySQL to MariaDB to
take place in a way that cannot be reversed by MariaDB effectively
clobbering the MySQL packaging's data files, when otherwise removing and
re-installing the MySQL packaging only with no MariaDB involved would
work.

It is certainly non-trivial to fix in a way that works for everybody,
and we will need to talk more about how we can resolve this, but that
doesn't stop the issue from existing.


** Summary changed:

- MySQL 5.5/5.6 detects /var/lib/mysql/*.flag file and aborts installation
+ MariaDB writes to /var/lib/mysql after crossgrade, preventing users from reverting to MySQL without manual intervention

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1490071

Title:
  MariaDB writes to /var/lib/mysql after crossgrade, preventing users
  from reverting to MySQL without manual intervention

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



More information about the Ubuntu-server-bugs mailing list