Comment 11 for bug 1914636

Revision history for this message
Lars Tangvald (lars-tangvald) wrote : Re: 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

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.