Comment 2 for bug 1899248

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: package mysql-server-8.0 8.0.21-0ubuntu0.20.04.4 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

Hi,
from your logs:

Error: Unable to shut down server with process id 21763

2020-10-10T05:35:05.369830Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible'
2020-10-10T05:35:05.370488Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create lock file /var/run/mysqld/mysqlx.sock.lock'

It reminds me of a different transient issue that occurred to some users in the past.
Is this issue reproducible or does it go away on a retry of the package upgrade?

P.S. the reason it is shown "every time" might be due to an upgrade tried "every time". In that case chances are that a local config change made it unable to start but a service restart is required for an upgrade. Was there any config change that could explain that?