package php5-mysql 5.6.11+dfsg-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1545361 reported by MURAT ATES
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

apt-get purge mysql-server

ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: php5-mysql 5.6.11+dfsg-1ubuntu3.1
ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Sat Feb 13 19:30:12 2016
DuplicateSignature: package:php5-mysql:5.6.11+dfsg-1ubuntu3.1:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-01-26 (18 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageVersions:
 dpkg 1.18.2ubuntu5.1
 apt 1.0.10.2ubuntu1
SourcePackage: php5
Title: package php5-mysql 5.6.11+dfsg-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
MURAT ATES (digasi) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

From log:

Commandline: apt-get install mysql-server php5-mysql
Install: mysql-server-core-5.6:amd64 (5.6.28-0ubuntu0.15.10.1, automatic), mysql-server-5.6:amd64 (5.6.28-0ubuntu0.15.10.1, automatic), mysql-client-core-5.6:amd64 (5.6.28-0ubuntu0.15.10.1, automatic), php5-mysql:amd64 (5.6.11+dfsg-1ubuntu3.1), mysql-client-5.6:amd64 (5.6.28-0ubuntu0.15.10.1, automatic), mysql-server:amd64 (5.6.28-0ubuntu0.15.10.1)
Remove: mariadb-client:amd64 (10.0.23-0ubuntu0.15.10.1), mariadb-client-core-10.0:amd64 (10.0.23-0ubuntu0.15.10.1), mariadb-server-core-10.0:amd64 (10.0.23-0ubuntu0.15.10.1), mariadb-client-10.0:amd64 (10.0.23-0ubuntu0.15.10.1), mariadb-server-10.0:amd64 (10.0.23-0ubuntu0.15.10.1)
Error: Sub-process /usr/bin/dpkg returned an error code (1)

From log:

Creating config file /etc/php5/mods-available/mysql.ini with new version
cp: cannot create regular file ‘/etc/php5/mods-available/mysql.ini’: No such file or directory

Revision history for this message
Joshua Powers (powersj) wrote :

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'. It appears that during your first install of mysql you encountered errors that left the package in a bad state and not 100% configured.

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.

Changed in php5 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for php5 (Ubuntu) because there has been no activity for 60 days.]

Changed in php5 (Ubuntu):
status: Incomplete → Expired
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.