Hi Gary,
thank you for your report and your help to make Ubuntu better.
>From the log:
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 16: 32700 Killed
mysqld --user=mysql --init-file="$1" --socket="$tmpdir/mysqld.sock"
--pid-file="$tmpdir/mysqld.pid" > /dev/null 2>&1
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 137
There are issues in the mysql error log:
I see that already exists "ERROR: 1050 Table 'plugin' already exists"
But that is a known issue (https://bugs.mysql.com/bug.php?id=80642) and the
postinst handles that with a || true
The code path is also used to set a PW if set via debconf (not in your
upgrade case I'd think).
And finally to alter the user after auth_socket plugin is installed.
I'd assume that the code got killed while executing those:
USE mysql;"
ALTER USER 'root'@'localhost' IDENTIFIED WITH 'auth_socket';"
# Bug: http://bugs.mysql.com/bug.php?id=80632
UPDATE user SET password_expired='N', account_locked='N' WHERE
user='root';"
FLUSH PRIVILEGES;"
SHUTDOWN;"
run_init_sql "$initfile" <- runs the commands above.
But the mysql log has only valid shutdowns later on.
So the question is what killed the call to mysql in your case.
I beg a pardon, do you have any other data what happened while upgrading.
Did other than that your do-release-upgrade finish and if so is mysql now
properly working.
Is a new upgrade (or install --reinstall) of mysql-server-5.7 working for you
now?
** Bug watch added: MySQL Bug System #80642
http://bugs.mysql.com/bug.php?id=80642
** Bug watch added: MySQL Bug System #80632
http://bugs.mysql.com/bug.php?id=80632
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1653900
Title:
package mysql-server-5.7 5.7.16-0ubuntu0.16.04.1 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 137
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1653900/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs