Thanks for your tip. It did get me past the problem with apt not wanting to downgrade from version 10 to 5.7. However, it created other problems.
Unfortunately, I am unable to re-install MySQL even after removing all traces of MariaDB and MySQL. There are always errors. It is so bad that even: apt-get purge mysql-server mysql-client mysql-common fails. All attempts to install/remove/purge MySQL fail. Bottom line: if you install MariaDB, it renders your system in a state that you can no longer revert to MySQL. I suggest the MySQL purge and MySQL install packages need some testing under the condition that MariaDB is installed. In my case, I first installed MySQL server and client, then with no problems installed MariaDB (it supposedly removed MySQL, which was not really what I wanted, but it wasn't unreasonable). I have been using Ubuntu for a very long time now, and sometimes I break packages or they fail, and I have always been able to recover from package installation problems using some combination of purge, dpkg --configure -a and apt-get -f install. In this case, I seem to be blocked every way I turn. The latest of many is: apt-get purge mysql-server-5.7 dpkg: error processing package mysql-server-5.7 (--purge) package is a very bad inconsistent state; you should reinstall it before attempting a removal. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592749 Title: MySQL 5.7 slow with Bacula 7.4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1592749/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs