package mysql-server-5.7 5.7.19-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
This happened while upgrading from 14.04 LTS to 16.04 LTS
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.19-
ProcVersionSign
Uname: Linux 3.16.0-77-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Wed Aug 2 13:52:30 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2015-06-15 (779 days ago)
InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.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.2
apt 1.2.24
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.19-
UpgradeStatus: Upgraded to xenial on 2017-08-02 (0 days ago)
Hi,
From your log: 02T20:55: 29.260507Z 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 02T20:55: 29.260530Z 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2017-08-
2017-08-
But more concering: 0ubuntu0. 14.04.1) does not match with the version of^M version- check to skip this check.^M
mysql start/running, process 26743^M
Checking if update is needed.^M
Checking server version.^M
Error: Server version (5.5.54-
the server (5.7.19) with which this program was built/distributed. You can^M
use --skip-
mysql_upgrade failed with exit status 3^
This seems like an extra out-of-archive mysql running locally and some config around it that breaks your re-start of the service and thereby the upgrade.