package mysql-common 5.7.12-0ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1595984 reported by Tony Arcucci
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Confirmed
High
Unassigned

Bug Description

This message appears during automatic update of ubuntu

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-common 5.7.12-0ubuntu1.1
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Fri Jun 24 16:48:10 2016
Dependencies:

DuplicateSignature:
 package:mysql-common:5.7.12-0ubuntu1.1
 Setting up mysql-common (5.7.12-0ubuntu1.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 2016-02-15 (130 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: mysql-5.7
Title: package mysql-common 5.7.12-0ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to xenial on 2016-04-29 (56 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
Tony Arcucci (arcucci) 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
Revision history for this message
Simon Legner (simon04) wrote :

I was also affected. Upgraded from 14.04 to 16.04 with troubles w.r.t. MySQL. I resolved or rather worked around this problem with `sudo touch /etc/mysql/my.cnf.fallback`.

Bug 1567051 seems related.

Revision history for this message
Tony Arcucci (arcucci) wrote :

Simon's workaround worked for me.
thanks

Changed in mysql-5.7 (Ubuntu):
importance: Undecided → High
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.