Public bug reported: When purging the server package, the user should be given the option to remove data files. This is especially important if switching between MySQL and MariaDB, as they are not compatible, so not cleaning up after one is likely to make installation of the other fail.
However, the dialogue for this is never shown. The cause is that there's a check that skips the dialog if the server binary exists (is executable), which never passes. It seems to have been copied from an old version (4.1) that had the logic in the metapackage mysql-server (Debian bug #307473). Checking the file shouldn't be needed any longer. ** Affects: mysql-5.7 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1602945 Title: Users are never given option to remove data files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1602945/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs