package mysql-server-5.7 5.7.18-0ubuntu0.16.10.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1. Occured during "sudo do-release-upgrade -d" when upgrading from 16.10 to current version (17.04)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
package mysql-server-5.7 5.7.18-
MariaDB was installed and removed from the system, then MySQL installed and was working properly.
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: mysql-server-5.7 5.7.18-
ProcVersionSign
Uname: Linux 4.8.0-51-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
Date: Mon May 15 09:17:54 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-03-08 (67 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.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.10ubuntu1.1
apt 1.3.5
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.18-
UpgradeStatus: Upgraded to yakkety on 2017-05-15 (0 days ago)
tags: | removed: need-duplicate-check |
From log:
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/ mysqld/ mysqld. sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11