>From the logs, it appears MySQL was successfully installed, then an attempt was made to replace it with MariaDB, which failed, but wrote files to /var/lib/mysql, causing the next attempt to reinstall MySQL to fail.
MariaDB and MySQL have in the past worked as drop-in replacements, but this is no longer the case, so going from one server to the other with the same data files isn't supported. Try renaming /etc/mysql and /var/lib/mysql, then reinstall MySQL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583186 Title: package mysql-server-5.7 5.7.11-0ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1583186/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
