package mysql-server-5.6 5.6.24-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.6 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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-
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://
ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: mysql-server-5.6 5.6.24-0ubuntu2
ProcVersionSign
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelMo
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-
DuplicateSignature: package:
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.
Logs.var.
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
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)
tags: | removed: need-duplicate-check |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.
If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http:// www.ubuntu. com/support/ community
Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.