You had mysql-5.7 installed and now you tried to install mariadb-10.0, right?
Have you studied the contents of /var/log/mysql/error.log ? The systemd journal says: Apr 10 08:31:33 hostname mysqld_safe[8789]: [108B blob data] Apr 10 08:31:33 hostname mysqld_safe[8789]: Fatal error in defaults handling. Program aborted Apr 10 08:31:33 hostname mysqld_safe[8789]: [98B blob data] Apr 10 08:31:33 hostname mysqld_safe[8789]: Fatal error in defaults handling. Program aborted Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: Installation of system tables failed! Examine the logs in Apr 10 08:31:33 hostname mysqld_safe[8789]: /var/lib/mysql for more information. Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: The problem could be conflicting information in an external Apr 10 08:31:33 hostname mysqld_safe[8789]: my.cnf files. You can ignore these by doing: Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: shell> /usr/bin/scripts/mysql_install_db --defaults-file=~/.my.cnf Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: You can also try to start the mysqld daemon with: Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: shell> /usr/sbin/mysqld --skip-grant --general-log & Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: and use the command line tool /usr/bin/mysql Apr 10 08:31:33 hostname mysqld_safe[8789]: to connect to the mysql database and look at the grant tables: Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: shell> /usr/bin/mysql -u root mysql Apr 10 08:31:33 hostname mysqld_safe[8789]: mysql> show tables; Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: Try 'mysqld --help' if you have problems with paths. Using Apr 10 08:31:33 hostname mysqld_safe[8789]: --general-log gives you a log in /var/lib/mysql that may be helpful. Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: The latest information about mysql_install_db is available at Apr 10 08:31:33 hostname mysqld_safe[8789]: https://mariadb.com/kb/en/installing-system-tables-mysql_install_db Apr 10 08:31:33 hostname mysqld_safe[8789]: MariaDB is hosted on launchpad; You can find the latest source and Apr 10 08:31:33 hostname mysqld_safe[8789]: email lists at http://launchpad.net/maria Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8789]: Please check all of the above before submitting a bug report Apr 10 08:31:33 hostname mysqld_safe[8789]: at http://mariadb.org/jira Apr 10 08:31:33 hostname mysqld_safe[8789]: Apr 10 08:31:33 hostname mysqld_safe[8812]: [98B blob data] Apr 10 08:31:33 hostname mysqld_safe[8812]: Fatal error in defaults handling. Program aborted Can you run 'apt-get purge mysql-ser* mariadb-ser*' and then try again from fresh with 'apt-get install mariadb-server'? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568412 Title: package mariadb-server-10.0 10.0.23-2 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/mariadb-10.0/+bug/1568412/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
