Comment 5 for bug 1670629

Revision history for this message
Pas (pasthelod) wrote : Re: postinst runs mysql_upgrade before server is properly started

I tried it about 2-3 times, before confirming that it won't go away by itself.

Basically the sequence of events was: apt full-upgrade, it failed, then dpkg --configure -a which of course failed too, apt full-upgrade again, it failed again, then I scrolled up to read the error, I ran mysql_upgrade manually, it ran without error, so I tried the configure again, but it failed. Then I confirmed that I have 5.7 up and running, but the postinst is just not having it. So then I just did the usual strace -f -e execve -s 300 dpkg --configure -a, and then I edited the postinst file, and filed the bug after it worked.