Comment 2 for bug 1925118

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thank you for taking the time to file a bug report.

There is no error log from MySQL in the bug, so the investigation I performed has been limited by this. But upon looking at DpkgTerminalLog.txt, I found the following error message:

Configurando mysql-server-8.0 (8.0.23-0ubuntu0.20.04.1) ...
/var/lib/dpkg/info/mysql-server-8.0.postinst: línea 191: /usr/share/mysql-common/configure-symlinks: No existe el archivo o el directorio

This file (/usr/share/mysql-common/configure-symlinks) is part of the mysql-common package, which should be installed because it's a dependency of the mysql-server package. It is not clear from the logs what caused this file to be missing; did you perhaps remove this file or its parent directory by hand? You can try purging the mysql-common package and reinstalling it:

# apt purge mysql-common
# apt install mysql-common

This should solve the problem for you. If you haven't deleted the /usr/share/mysql-common/configure-symlinks file by hand, then please try to provide more details about the issue: the MySQL error logs, and the sequence of commands that you're executing would be helpful to try and diagnose what's happening.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community