Hi, from your logs: It seems the package installed and worked fine a few weeks ago: Start-Date: 2020-07-07 00:57:35 Commandline: apt install mysql-server Requested-By: chathudya (1000) Install: mecab-utils:amd64 (0.996-10build1, automatic), libevent-core-2.1-7:amd64 (2.1.11-stable-1, automatic), mysql-client-8.0:amd64 (8.0.20-0ubuntu0.20.04.1, automatic), mysql-server:amd64 (8.0.20-0ubuntu0.20.04.1), mysql-server-8.0:amd64 (8.0.20-0ubuntu0.20.04.1, automatic), libcgi-fast-perl:amd64 (1:2.15-1, automatic), libfcgi-perl:amd64 (0.79-1, automatic), libmecab2:amd64 (0.996-10build1, automatic), mecab-ipadic-utf8:amd64 (2.7.0-20070801+main-2.1, automatic), libcgi-pm-perl:amd64 (4.46-1, automatic), libaio1:amd64 (0.3.112-5, automatic), mysql-client-core-8.0:amd64 (8.0.20-0ubuntu0.20.04.1, automatic), libhtml-template-perl:amd64 (2.97-1, automatic), mecab-ipadic:amd64 (2.7.0-20070801+main-2.1, automatic), mysql-server-core-8.0:amd64 (8.0.20-0ubuntu0.20.04.1, automatic) End-Date: 2020-07-07 01:02:35
Then recently there was an upgrade Start-Date: 2020-08-01 07:10:18 Commandline: /usr/bin/unattended-upgrade Upgrade: mysql-client-8.0:amd64 (8.0.20-0ubuntu0.20.04.1, 8.0.21-0ubuntu0.20.04.3), mysql-server-8.0:amd64 (8.0.20-0ubuntu0.20.04.1, 8.0.21-0ubuntu0.20.04.3), mysql-server-core-8.0:amd64 (8.0.20-0ubuntu0.20.04.1, 8.0.21-0ubuntu0.20.04.3) This upgrade then ran into trouble stopping the server Setting up mysql-server-8.0 (8.0.21-0ubuntu0.20.04.3) ... mysqld will log errors to /var/log/mysql/error.log mysqld is running as pid 8341 Error: Unable to shut down server with process id 8341 dpkg: error processing package mysql-server-8.0 (--configure): But the error log only show a start issue: 2020-08-01T01:41:03.503443Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible' 2020-08-01T01:41:03.504125Z 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' Never the less this is the best trace that I see in your logs. Do you happen to have changed/configured the log path in any way? Does a restart of the server work reliably or does it e.g. take quite some time so that this could have been a timeout? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889950 Title: package mysql-server-8.0 8.0.21-0ubuntu0.20.04.3 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1889950/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
