package libapache2-mod-php5 5.5.12+dfsg-2ubuntu4.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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/
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+
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 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 friendly-recovery (0.2.26) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Setting up ubuntu-minimal (1.327) ...
Setting up plymouth-
update-initramfs: deferring update (trigger activated)
Processing triggers for dbus (1.8.8-1ubuntu2.1) ...
Setting up libpam-
Removing obsolete conffile /etc/init/
Setting up policykit-1 (0.105-
Processing triggers for libc-bin (2.19-10ubuntu2.3) ...
Processing triggers for ca-certificates (20141019ubuntu
Updating certificates in /etc/ssl/certs... 17 added, 8 removed; done.
Running hooks in /etc/ca-
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.
Errors were encountered while processing:
libapache2-
php5
Error in function:
A fatal error occurred
Please report this as a bug and include the files
/var/log/
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
tags: | removed: need-duplicate-check |
Thank you for your report.
What is /repo/config/ etc/php. ini please? Is it something you have created and symlinked from /etc/php? Do you have multiple symlinks pointing to the same location?
Once you've replied, please change the bug status back to New.