[Bug 1928635] Re: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
The logs indicate that most of the time the shutdown sequence takes only a few seconds, however in the case of pid 8278 it took about 70 seconds: 2021-05-17T02:27:47.214495Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.25-0ubuntu0.20.04.1) starting as process 8276 ... 2021-05-17T02:29:18.035733Z 4 [System] [MY-013381] [Server] Server upgrade from '80023' to '80025' started. 2021-05-17T02:36:32.573990Z 4 [System] [MY-013381] [Server] Server upgrade from '80023' to '80025' completed. ... 2021-05-17T02:36:39.006641Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.25-0ubuntu0.20.04.1' socket: '/tmp/tmp.5HcSpfKwFV/mysqld.sock' port: 0 (Ubuntu). 2021-05-17T02:36:39.033217Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user . Shutting down mysqld (Version: 8.0.25-0ubuntu0.20.04.1). 2021-05-17T02:37:48.161981Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.25-0ubuntu0.20.04.1) (Ubuntu). Several other bugs reported recently show this same pattern, and so I wonder if the timeout is set too tightly. ** Summary changed: - package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 + package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: (exceeded timeout?) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928635 Title: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: (exceeded timeout?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1928635/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1928635] Re: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Thank you for taking the time to file a bug report. After checking the logs the only thing relevant to your problem was this part of the apt log: Setting up mysql-server-8.0 (8.0.25-0ubuntu0.20.04.1) ... mysqld will log errors to /var/log/mysql/error.log mysqld is running as pid 8278 Error: Unable to shut down server with process id 8278 [1mdpkg:[0m error processing package mysql-server-8.0 (--configure): installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 Which means that a mysqld process was already running when you tried to upgrade the package. Could you confirm you did not have another mysql process bind to the default port? Since there is not enough information in your report to begin triage or to differentiate between a local configuration problem and a bug in Ubuntu, I am marking this bug as "Incomplete". We would be grateful if you would: provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to "New". For local configuration issues, you can find assistance here: http://www.ubuntu.com/support/community ** Changed in: mysql-8.0 (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/1928635 Title: package mysql-server-8.0 8.0.25-0ubuntu0.20.04.1 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/1928635/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs