package mysql-common 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1623471 reported by Andrew
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Using system software updater.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-common 5.7.15-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Wed Sep 14 22:03:17 2016
Dependencies:

DuplicateSignature:
 Setting up mysql-common (5.7.15-0ubuntu0.16.04.1) ...
 update-alternatives: error: alternative path /etc/mysql/my.cnf.fallback doesn't exist
 dpkg: error processing package mysql-common (--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 2014-11-25 (658 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Logs.var.log.daemon.log:

Logs.var.log.mysql.error.log:
MySQLConf.etc.mysql.my.cnf:
MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['andy_sandbox', 'ib_buffer_pool', 'ibdata1', 'kompreni', 'ib_logfile1', 'performance_schema', 'sys', 'ib_logfile0', 'chatapp', 'mysql_upgrade_info', 'kaizen', 'auto.cnf', 'people', 'mysql', 'debian-5.7.flag']
PackageArchitecture: all
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic root=UUID=75639d4e-0063-477e-8db3-de68a7dbe101 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1
 apt 1.2.10ubuntu1
SourcePackage: mysql-5.7
Title: package mysql-common 5.7.15-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to xenial on 2016-05-14 (122 days ago)
modified.conffile..etc.mysql.conf.d.mysql.cnf: [deleted]
modified.conffile..etc.mysql.conf.d.mysqldump.cnf: [deleted]
modified.conffile..etc.mysql.my.cnf.fallback: [deleted]

Revision history for this message
Andrew (am-public-o) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andrew (am-public-o) wrote :

Resolved with:
:~$ sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.fallback
:~$ sudo apt-get update && sudo apt-get upgrade -y

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.