Hello Sven and thanks for this bug report. It seems that the NO_AUTO_CREATE_USER option is set in a custom config file you have on your system (/etc/mysql.conf.d/sdnet.cnf). From the logs you posted:
MySQLConf.etc.mysql.conf.d.sdnet.cnf: [mysqld] # Disable "ONLY_FULL_GROUP_BY" for SDNET / RIM sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" The Ubuntu upgrade script can't (and well, shouldn't) modify files that do not belong to the package itself, and for this reason that config file still have that option. The way forward here is to update it manually. As this looks like a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug report as Incomplete. If you agree with my analysis please set the bug status to Invalid; otherwise please 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. Thanks! ** 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/1929713 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/1929713/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs