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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
update-
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-
ProcVersionSign
Uname: Linux 5.4.0-70-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
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.
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
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
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.5
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.23-
UpgradeStatus: No upgrade log present (probably fresh install)
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) ... dpkg/info/ mysql-server- 8.0.postinst: línea 191: /usr/share/ mysql-common/ configure- symlinks: No existe el archivo o el directorio
/var/lib/
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: www.ubuntu. com/support/ community
http://