[Bug 1461430] [NEW] package mysql-server-5.6 5.6.24-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Michael Ljunge michael.ljunge at gmail.com
Wed Jun 3 07:36:26 UTC 2015


Public bug reported:

Release: Ubuntu 15.10

Background: 
I installed MariaDB and migrated from MySQL. Later I found that some programs did not work correctly. Therefore I completely removed MariaDB and tried to reinstall MySQL.

Re-Installation:
It is not possible to re-install or launch mysql-5.6 AND mysql-server. I have tried to completely remove and reinstall but it does not work. Below are some error messages I get. I have managed to unmask the MySQL service so this error does not exist any more however I am not able to install or launch mysql-5.6 AND mysql-server.
" dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
Error in function: 
Setting up mysql-server-5.6 (5.6.24-0ubuntu2) ...
invoke-rc.d: Unit mysql.service is masked
update-alternatives: error: alternative path /etc/mysql/mysql.cnf doesn't exist
dpkg: error processing package mysql-server-5.6 (--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.6; however:
  Package mysql-server-5.6 is not configured yet."

I think there are many others suffering from this bug. A thread on Ubuntu forums on this topic can be found here.
http://ubuntuforums.org/showthread.php?t=1229506"

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: mysql-server-5.6 5.6.24-0ubuntu2
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
AptOrdering:
 mysql-server-5.6: Configure
 mysql-server: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Tue Jun  2 19:22:21 2015
DpkgHistoryLog:
 Start-Date: 2015-06-02  19:22:19
 Commandline: apt-get install mysql-server
DpkgTerminalLog:
 Setting up mysql-server-5.6 (5.6.24-0ubuntu2) ...
 update-alternatives: error: alternative path /etc/mysql/mysql.cnf doesn't exist
DuplicateSignature: package:mysql-server-5.6:5.6.24-0ubuntu2: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-05-01 (397 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
Logs.var.log.daemon.log:
 
Logs.var.log.mysql.error.log: 
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.19.0-18-generic root=UUID=5b7e492d-d5a6-412e-bed6-2d73d18a5db2 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1
 apt  1.0.9.7ubuntu4
SourcePackage: mysql-5.6
Title: package mysql-server-5.6 5.6.24-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mysql-5.6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package vivid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1461430

Title:
  package mysql-server-5.6 5.6.24-0ubuntu2 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1461430/+subscriptions



More information about the Ubuntu-server-bugs mailing list