[Bug 1794057] Re: package mysql-server-5.7 5.7.23-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Andreas Hasenack
andreas at canonical.com
Mon Oct 1 19:09:41 UTC 2018
Thanks for filing this bug in Ubuntu.
Unfortunately it's not clear why the package installation failed:
(...)
mysql.user OK
The sys schema is already up to date (version 1.5.1).
Checking databases.
Error occurred: Error during call to mysql_check.
mysql_upgrade failed with exit status 4
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
The error log is also unhelpful. Looking at the source, status 4 means:
EXIT_MYSQL_CHECK_ERROR = 4,
EXIT_MYSQL_CHECK_ERROR - Error during calling mysql_check functionality.
Does the error persist if you try the following:
sudo apt update
sudo apt -f install
If yes, can you try running the upgrade command on its own, like this, as root:
mysql_upgrade --defaults-file=/etc/mysql/debian.cnf
Thanks
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to mysql-5.7 in Ubuntu.
Matching subscriptions: main
https://bugs.launchpad.net/bugs/1794057
Title:
package mysql-server-5.7 5.7.23-0ubuntu0.16.04.1 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/1794057/+subscriptions
More information about the Ubuntu-server-bugs
mailing list