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
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: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-
ProcVersionSign
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.
MySQLConf.
[mysqld_safe]
syslog
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.7
apt 1.2.35
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.33-
UpgradeStatus: Upgraded to xenial on 2021-10-07 (0 days ago)
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