Thank you for taking the time to file a bug report. @guiverc is right, this seems to me a local configuration issue.
In the logs I see you first installed mariadb and then after you installed mysql, both are not co-installable, please make sure you do not have them installed. Moreover, in the mysql logs you can seem more than one occurrence of the following: 2021-11-06 18:43:51 0 [ERROR] InnoDB: Invalid flags 0x4800 in ./ibdata1 2021-11-06 18:43:51 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption 2021-11-06 18:43:51 0 [Note] InnoDB: Starting shutdown... 2021-11-06 18:43:52 0 [ERROR] Plugin 'InnoDB' init function returned error. 2021-11-06 18:43:52 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2021-11-06 18:43:52 0 [Note] Plugin 'FEEDBACK' is disabled. 2021-11-06 18:43:52 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded 2021-11-06 18:43:52 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2021-11-06 18:43:52 0 [ERROR] Aborting It seems your data is corrupted or an issue with some plugin. Please, follow the instructions in the logs and check the upstream doc: 2021-11-06T19:56:34.402162Z 1 [ERROR] [MY-012530] [InnoDB] Unknown redo log format (103). Please follow the instructions at http://dev.mysql.com/doc/refman/8.0/en/ upgrading-downgrading.html. Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'. However, if you believe that this is really a bug in Ubuntu, then we would be grateful if you would provide a more complete description of the problem with steps to reproduce, 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/1950057 Title: package mysql-server-8.0 8.0.27-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/1950057/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
