package mysql-server-5.7 5.7.18-0ubuntu0.17.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
error occured because something issue with dependency
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: mysql-server-5.7 5.7.18-
ProcVersionSign
Uname: Linux 4.10.0-28-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
Date: Fri Jul 21 00:21:51 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-06-16 (34 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.18-
UpgradeStatus: Upgraded to zesty on 2017-06-16 (34 days ago)
tags: | removed: need-duplicate-check |
Hi Lohar,
from the log: 20T18:52: 53.167712Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2017-07-
An upgrade of a service restarts it to pick up the new changes, in your case there is something running on the port that mysql wants to listen on.
Due to that it fails to (re-)start which lets the upgrade fail.
You'll have to find what is actually on that port and clean it up - another mysql not controlled by the service maybe? You can find with e.g.
$ ss -atnp '( src :3306 )'