It seems the internal storage is somehow corrupted (see /var/log/mysql/error.log), since creating a new "undo tablespace" failed during startup since the "undo_001"/"undo_002" tablespace was already there. After the failed attempt, mysql reports to listen for connections, though.
2025-07-13T12:10:10.512703Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.42-0ubuntu0.24.04.2' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu). https://dev.mysql.com/doc/refman/8.0/en/innodb-undo-tablespaces.html Is your mysql runnning successfully now? If so, by deleting/recreating the undo tablespace and directories you may get rid of the problem. Also, what did you use the database for, and did you do any configuration within the database itself? (ideally regarding the undo tablespaces) ** 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/2116809 Title: package mysql-server-8.0 8.0.42-0ubuntu0.24.04.2 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/2116809/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
