dependency problems prevent configuration of php5

Bug #1507441 reported by josephbren
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Invalid
Undecided
josephbren

Bug Description

Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  php-pear
The following NEW packages will be installed:
  libapache2-mod-php5 php5 php5-mysql
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,343 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main libapache2-mod-php5 amd64 5.6.4+dfsg-4ubuntu6.3 [2,276 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main php5 all 5.6.4+dfsg-4ubuntu6.3 [1,348 B]
Get:3 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main php5-mysql amd64 5.6.4+dfsg-4ubuntu6.3 [65.4 kB]
Fetched 2,343 kB in 0s (2,477 kB/s)
Selecting previously unselected package libapache2-mod-php5.
(Reading database ... 280531 files and directories currently installed.)
Preparing to unpack .../libapache2-mod-php5_5.6.4+dfsg-4ubuntu6.3_amd64.deb ...
Unpacking libapache2-mod-php5 (5.6.4+dfsg-4ubuntu6.3) ...
Selecting previously unselected package php5.
Preparing to unpack .../php5_5.6.4+dfsg-4ubuntu6.3_all.deb ...
Unpacking php5 (5.6.4+dfsg-4ubuntu6.3) ...
Selecting previously unselected package php5-mysql.
Preparing to unpack .../php5-mysql_5.6.4+dfsg-4ubuntu6.3_amd64.deb ...
Unpacking php5-mysql (5.6.4+dfsg-4ubuntu6.3) ...
Setting up libapache2-mod-php5 (5.6.4+dfsg-4ubuntu6.3) ...
php5_invoke: Enable module pdo for apache2 SAPI
php5_invoke: Enable module intl for apache2 SAPI
php5_invoke: Enable module opcache for apache2 SAPI
php5_invoke: Enable module readline for apache2 SAPI
php5_invoke: Enable module json for apache2 SAPI
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
dpkg: error processing package libapache2-mod-php5 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of php5:
 php5 depends on libapache2-mod-php5 (>= 5.6.4+dfsg-4ubuntu6.3~) | libapache2-mod-php5filter (>= 5.6.4+dfsg-4ubuntu6.3~) | php5-cgi (>= 5.6.4+dfsg-4ubuntu6.3~) | php5-fpm (>= 5.6.4+dfsg-4ubuntu6.3~); however:
  Package libapache2-mod-php5 is not configured yet.
  Package libapache2-mod-php5filter is not installed.
  Package php5-cgi is not installed.
  Package php5-fpm is not installed.

dpkg: error processing package php5 (--configure):
 dependency problems - leaving unconfigured
Setting up php5-mysql (5.6.4+dfsg-4ubuntu6.3) ...
No apport report written because the error message indicates its a followup error from a previous failure.

Creating config file /etc/php5/mods-available/mysql.ini with new version
php5_invoke: Enable module mysql for apache2 SAPI
php5_invoke: Enable module mysql for cli SAPI

Creating config file /etc/php5/mods-available/mysqli.ini with new version
php5_invoke: Enable module mysqli for apache2 SAPI
php5_invoke: Enable module mysqli for cli SAPI

Creating config file /etc/php5/mods-available/pdo_mysql.ini with new version
php5_invoke: Enable module pdo_mysql for apache2 SAPI
php5_invoke: Enable module pdo_mysql for cli SAPI
Errors were encountered while processing:
 libapache2-mod-php5
 php5
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: libapache2-mod-php5 5.6.4+dfsg-4ubuntu6.3
ProcVersionSignature: Ubuntu 3.19.0-30.34-generic 3.19.8-ckt6
Uname: Linux 3.19.0-30-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.5
Architecture: amd64
Date: Mon Oct 19 00:35:39 2015
DuplicateSignature: package:libapache2-mod-php5:5.6.4+dfsg-4ubuntu6.3:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-02-20 (605 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1
 apt 1.0.9.7ubuntu4.1
SourcePackage: php5
Title: package libapache2-mod-php5 5.6.4+dfsg-4ubuntu6.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to vivid on 2015-04-24 (177 days ago)
modified.conffile..etc.apache2.mods.available.php5.conf: [deleted]
modified.conffile..etc.apache2.mods.available.php5.load: [deleted]

Revision history for this message
josephbren (josephbren) wrote :
tags: removed: need-duplicate-check
Revision history for this message
josephbren (josephbren) wrote :

Seems to have been solved by running sudo apt-get -y purge php.* I'm sorry for wasting your time, but a window appeared and prompted me to report it.

Changed in php5 (Ubuntu):
status: New → In Progress
status: In Progress → Invalid
assignee: nobody → josephbren (josephbren)
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.