package mysql-hostname-5.7 (not installed) 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) |
Expired
|
Undecided
|
Unassigned |
Bug Description
package mysql-hostname-5.7 (not installed) failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 (not installed)
ProcVersionSign
Uname: Linux 4.13.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Sun Feb 25 02:52:28 2018
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2018-02-25 (0 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageV
dpkg 1.18.4ubuntu1.3
apt 1.2.25
SourcePackage: mysql-5.7
Title: package mysql-hostname-5.7 (not installed) failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
UpgradeStatus: No upgrade log present (probably fresh install)
Hi, alternatives: using /etc/mysql/ mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
from your logs:
update-
Renaming removed key_buffer and myisam-recover options (if present)
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
You did not attach the mysql error log which usually is the next place to check what happened.
But honestly 99% of issues like that are due to broken local config that makes the server fail to start/re-start.
So until data was provided to show this sisn't the case here I'll handle it like that case.