[Bug 1467552] [NEW] package libapache2-mod-php5 5.5.12+dfsg-2ubuntu4.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
Andrew Chernow
andrew at chernow.me
Mon Jun 22 14:36:51 UTC 2015
Public bug reported:
OUTPUT at command prompt just before error. It was working on php5 and I just told it to keep my php.ini file. After saying keep my php.ini, the below was outputted.
ucfr: Attempt from package libapache2-mod-php5 to take /repo/config/etc/php.ini away from package php5-cli
ucfr: Aborting.
dpkg: error processing package libapache2-mod-php5 (--configure):
subprocess installed post-installation script returned error exit status 4
Setting up ubuntu-standard (1.327) ...
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.5.12+dfsg-2ubuntu4.4~) | libapache2-mod-php5filter (>= 5.5.12+dfsg-2ubuntu4.4~) | php5-cgi (>= 5.5.12+dfsg-2ubuntu4.4~) | php5-fpm (>= 5.5.12+dfsg-2ubuntu4.4~); 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 plymouth (0.9.0-0ubuntu7) ...
update-initramfs: deferring update (trigger activated)
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up upstart (1.13.2-0ubuntu2) ...
Setting up friendly-recovery (0.2.26) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-41-generic
Found initrd image: /boot/initrd.img-3.16.0-41-generic
Found linux image: /boot/vmlinuz-3.13.0-43-generic
Found initrd image: /boot/initrd.img-3.13.0-43-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Setting up ubuntu-minimal (1.327) ...
Setting up plymouth-theme-ubuntu-text (0.9.0-0ubuntu7) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for dbus (1.8.8-1ubuntu2.1) ...
Setting up libpam-systemd:amd64 (208-8ubuntu8.2) ...
Removing obsolete conffile /etc/init/systemd-logind.conf ...
Setting up policykit-1 (0.105-4ubuntu2.14.10.1) ...
Processing triggers for libc-bin (2.19-10ubuntu2.3) ...
Processing triggers for ca-certificates (20141019ubuntu0.14.10.1) ...
Updating certificates in /etc/ssl/certs... 17 added, 8 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-41-generic
Errors were encountered while processing:
libapache2-mod-php5
php5
Error in function:
A fatal error occurred
Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package dist-upgrade need-duplicate-check utopic
** Attachment added: "main.log"
https://bugs.launchpad.net/bugs/1467552/+attachment/4418590/+files/main.log
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1467552
Title:
package libapache2-mod-php5 5.5.12+dfsg-2ubuntu4.4 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1467552/+subscriptions
More information about the Ubuntu-server-bugs
mailing list