iirc, we had a bug earlier where the apparmor profile was missing the mysqlx.sock file (new in 8.0), but that doesn't seem to be the case here, and no apparmor errors on it in the dmesg file.
I'm not sure if it's relevant, but there's an apparmor error for snap with docker and mysql mentioned. The error itself doesn't tell me much, but can you verify that you're not running mysql in a snap or docker container with socket files and/or ports mapped to the host? Another process already having written the mysql.sock file might explain the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899248 Title: package mysql-server-8.0 8.0.21-0ubuntu0.20.04.4 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/1899248/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs