package mysql-server-5.7 5.7.11-0ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1567214 reported by Yrjö Hatakka
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  php5-gd
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up mysql-server-5.7 (5.7.11-0ubuntu4) ...
Checking if update is needed.
This installation of MySQL is already upgraded to 5.7.11, use --force if you still need to run mysql_upgrade
dpkg: error processing package mysql-server-5.7 (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 mysql-server-5.7
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.11-0ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-17.33-generic 4.4.6
Uname: Linux 4.4.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
Date: Wed Apr 6 21:59:46 2016
DuplicateSignature:
 Setting up mysql-server-5.7 (5.7.11-0ubuntu4) ...
 Checking if update is needed.
 This installation of MySQL is already upgraded to 5.7.11, use --force if you still need to run mysql_upgrade
 dpkg: error processing package mysql-server-5.7 (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2015-05-15 (327 days ago)
InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLConf.etc.mysql.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['performance_schema', 'ib_buffer_pool', 'mysql', 'debian-5.6.flag', 'ib_logfile0', 'mail', 'ibtmp1', 'debian-5.7.flag', 'sys', 'debian-5.5.flag', 'roundcubedb', 'auto.cnf', 'ib_logfile1', 'mysql_upgrade_info', 'ibdata1']
ProcCmdline: BOOT_IMAGE=/vmlinuz-4.4.0-17-generic root=/dev/mapper/VG1-LV1 ro elevator=deadline biosdevname=0
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1
 apt 1.2.10
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.11-0ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to xenial on 2016-02-13 (53 days ago)

Revision history for this message
Yrjö Hatakka (yrjo64) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mysql-5.7 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.