dependency problems prevent configuration of php5
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-
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://
Get:2 http://
Get:3 http://
Fetched 2,343 kB in 0s (2,477 kB/s)
Selecting previously unselected package libapache2-
(Reading database ... 280531 files and directories currently installed.)
Preparing to unpack .../libapache2-
Unpacking libapache2-mod-php5 (5.6.4+
Selecting previously unselected package php5.
Preparing to unpack .../php5_
Unpacking php5 (5.6.4+
Selecting previously unselected package php5-mysql.
Preparing to unpack .../php5-
Unpacking php5-mysql (5.6.4+
Setting up libapache2-mod-php5 (5.6.4+
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-
Package libapache2-mod-php5 is not configured yet.
Package libapache2-
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+
No apport report written because the error message indicates its a followup error from a previous failure.
Creating config file /etc/php5/
php5_invoke: Enable module mysql for apache2 SAPI
php5_invoke: Enable module mysql for cli SAPI
Creating config file /etc/php5/
php5_invoke: Enable module mysqli for apache2 SAPI
php5_invoke: Enable module mysqli for cli SAPI
Creating config file /etc/php5/
php5_invoke: Enable module pdo_mysql for apache2 SAPI
php5_invoke: Enable module pdo_mysql for cli SAPI
Errors were encountered while processing:
libapache2-
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-
ProcVersionSign
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:
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)
RelatedPackageV
dpkg 1.17.25ubuntu1
apt 1.0.9.7ubuntu4.1
SourcePackage: php5
Title: package libapache2-mod-php5 5.6.4+dfsg-
UpgradeStatus: Upgraded to vivid on 2015-04-24 (177 days ago)
modified.
modified.
tags: | removed: need-duplicate-check |
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.