Hi,
Thanks for the tip!
This logic has changed significantly in Ubuntu 18+ to use new MySQL
functionality to make the upgrade process more robust (using a method of
starting the server that doesn't continue until it's ready for
connections). 20.04 has MySQL 8.0, which has deprecated
I just ran into this same issue with 5.7.29-0ubuntu0.16.04.1. It is
caused by a race condition.
It is a rather large MySQL database, so stopping & starting up the
daemon takes some time. Tried 'apt-get -f install' multiple times to no
avail.
After going over the code in /var/lib/dpkg/info/mysql-
>From your log:
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server
I'd call it a dup of bug 1592669, but that is meant to be fixed.
Why does it show up "again".
Subscribing Lars and Robie to
** Tags removed: need-duplicate-check
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863318
Title:
package mysql-server-5.7 5.7.29-0ubuntu0.16.04.1 failed to
install/upgrade: subprocess installed