Public bug reported: A common report is that MySQL-related maintainer scripts have failed after files in /etc/mysql/ have been deleted. This is expected behaviour since policy is that users' modifications of conffiles (for example, files in /etc/mysql/) should be preserved.
The logic is that if you have modified /etc/mysql/, it is presumed that those modifications are what you want. Packaging cannot fix up any broken customizations for you, so for example if you have deleted those files, then packaging will be broken. Before attempting to fix this up, make sure to take a full backup of your system and in particular any databases (by default in /var/lib/mysql) in case your attempt results in destruction of your data. To fix this situation up, you could try purging all mysql-related packages (particularly mysql-common, mariadb-server-* and/or mysql- server-*) and reinstalling them. Note that just removing the packages will not work since dpkg will preserve your local modifications to /etc/mysql/ as designed. Since this behaviour is by design, this is not a bug in Ubuntu that will be fixed and so this bug's status is set to Invalid to reflect this. Please note that the bug tracker is not a support forum. Although you are welcome to communicate with other affected users here, please do not expect help here since the community doesn't generally monitor bugs for this purpose. If you are still having problems, then you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community ** Affects: mysql-5.5 (Ubuntu) Importance: Undecided Status: Invalid ** Affects: mysql-5.6 (Ubuntu) Importance: Undecided Status: Invalid ** Affects: mysql-5.7 (Ubuntu) Importance: Undecided Status: Invalid ** Changed in: mysql-5.6 (Ubuntu) Status: New => Invalid ** Also affects: mysql-5.7 (Ubuntu) Importance: Undecided Status: New ** Also affects: mysql-5.5 (Ubuntu) Importance: Undecided Status: New ** Changed in: mysql-5.5 (Ubuntu) Status: New => Invalid ** Changed in: mysql-5.7 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579708 Title: mysql maintainer scripts fail if files in /etc/mysql have been deleted locally To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1579708/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
