The script in /var/lib/mysql-files seems very old; We do something similar now, but the "install plugin" line was removed, because that line will return an error if the plugin is already installed, aborting the script before it reaches shutdown, thus causing the installation to hang.
If that file is somehow set to be used it could cause a hang, but it would either need to be specified in the config file (which we've never done automatically) or somehow have the filename postinst expects to find (which we generate with mktemp --tmpdir /var/lib/mysql-files). So not entirely sure what's happened here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1914636 Title: package mysql-server-8.0 8.0.23-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/1914636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs