package mysql-server-5.7 5.7.33-0ubuntu0.16.04.1 failed to install /upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1

Bug #1946327 reported by Sistemas Grupo SNB
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Update Ubuntu.

Report:

La actualización se ha cancelado.

Configurando mysql-server-5.7...
/var/lib/dpkg/info/mysql-server-5.7.postinst: línea 143: /usr/share/mysql-common/configure-symlinks: No existe el archivo o el directorio
dpkg:error al procesar el paquete mysql-server-5.7 (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
dpkg: problemas de dependencias impiden la configuración mysql-server:
mysql-server depende de mysql-server-5.7; sin embargo:
El paquete 'mysql-server-5.7' no está configurado todavía.

dpkg: error al procesar el paquete mysql-server (--configure):
Problemas de dependencias - de deja sin configurar
Se encontraron errores al procesar:
mysql-server-5.7
mysql-server

Actualización completada

La actualización se completó pero hubo errores durante el proceso.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.33-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-148.174~14.04.1-generic 4.4.177
Uname: Linux 4.4.0-148-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.30
Architecture: amd64
Date: Thu Oct 7 10:17:36 2021
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2015-11-30 (2137 days ago)
InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['aria_log_control', 'multi-master.info', 'mysql_upgrade_info', 'debian-5.5.flag', 'ibdata1', 'performance_schema', 'mysql', 'phpmyadmin', 'debian-10.1.flag.BAK', 'aria_log.00000001']
ProcCmdline: BOOT_IMAGE=/vmlinuz-4.4.0-148-generic root=/dev/mapper/lpweb--vg-root ro
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.7
 apt 1.2.35
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.33-0ubuntu0.16.04.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
UpgradeStatus: Upgraded to xenial on 2021-10-07 (0 days ago)

Revision history for this message
Sistemas Grupo SNB (sistemasgruposnb) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This is a bug that was seen a few times but just does not make sense.

The problem is that due to dependencies this should never be possible on a normally configured system (without third party sources or modified dependencies) as mysql-common is installed and has that file that is missing.

Gladly in most reported cases it works just fine on a retry.

Also I'd like to mention that 16.04 is out of "standard" support, so even if something is found unless it is super critical or a security issue it is unlikely to be updated, see [1] and consider reading about ESM.

I'll mark it as duplicate of 1771630 so that all affected can join discussion in one case.

[1]: https://wiki.ubuntu.com/Releases

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.