package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: el subproceso instalado paquete mysql-server-8.0 script post-installation devolvió el código de salida de error 127

Bug #1925118 reported by Nick Emmanuel Martínez Bello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

update-alternatives: utilizando /var/lib/mecab/dic/ipadic-utf8 para proveer /var/lib/mecab/dic/debian (mecab-dictionary) en modo automático
dpkg: problemas de dependencias impiden la configuración de mysql-server:
 mysql-server depende de mysql-server-8.0; sin embargo:
 El paquete `mysql-server-8.0' no está configurado todavía.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.23-0ubuntu0.20.04.1
ProcVersionSignature: Ubuntu 5.4.0-70.78-generic 5.4.94
Uname: Linux 5.4.0-70-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Apr 19 23:00:58 2021
ErrorMessage: el subproceso instalado paquete mysql-server-8.0 script post-installation devolvió el código de salida de error 127
InstallationDate: Installed on 2020-03-31 (385 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
Logs.var.log.daemon.log:

MySQLVarLibDirListing: []
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-70-generic root=UUID=04f891e0-c575-48d0-894c-bef31061e9b4 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.5
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: el subproceso instalado paquete mysql-server-8.0 script post-installation devolvió el código de salida de error 127
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nick Emmanuel Martínez Bello (paladin1062) wrote :
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

Changed in mysql-8.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-8.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-8.0 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.