[Bug 1769521] Re: package mysql-server-5.7 5.7.22-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Andreas Hasenack
andreas at canonical.com
Wed May 23 22:12:32 UTC 2018
Triage notes
dmesg shows some apparmor denied messages:
[271379.099691] audit: type=1400 audit(1525648982.804:66): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/2549/status" pid=2549 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[271379.099718] audit: type=1400 audit(1525648982.804:67): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=2549 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[271379.099751] audit: type=1400 audit(1525648982.804:68): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/2549/status" pid=2549 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
And the dpkg terminal log has this:
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Triaged
--
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/1769521
Title:
package mysql-server-5.7 5.7.22-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/1769521/+subscriptions
More information about the Ubuntu-server-bugs
mailing list