package mysql-server-5.7 5.7.24-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Caused during do-release-upgrade between 14.04->16.04
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.24-
ProcVersionSign
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Dec 27 20:29:22 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Logs.var.
MySQLConf.
MySQLConf.
[mysqld_safe]
syslog
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.5
apt 1.2.29
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.24-
UpgradeStatus: Upgraded to xenial on 2018-12-27 (0 days ago)
tags: | removed: need-duplicate-check |
This seems to be due to a misconfiguration, from your log
ERROR: Unable to start MySQL server: 27T20:29: 22.816593Z 0 [ERROR] You have enabled the binary log, but you haven't provided the mandatory server-id. Please refer to the proper server start-up parameters documentation 27T20:29: 22.818643Z 0 [ERROR] Aborting /wiki.debian. org/Teams/ MySQL/FAQ for tips on fixing common upgrade issues.
2018-12-
2018-12-
Please take a look at https:/
Then if you look for that error you find e.g. the helpful askubuntu Entry: /askubuntu. com/questions/ 829772/ mysql-failed- to-restart- on-ubuntu- 16-04
=> https:/
I'd ask you to follow the recommendations given there to fix up your configuration, then install/upgrade of mysql should work again.