[Bug 1467552] Re: package libapache2-mod-php5 5.5.12+dfsg-2ubuntu4.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
** Attachment added: "apt.log" https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1467552/+attachment/4418603/+files/apt.log ** Description changed: - Since .I am only allowed to upload a single file, but the upgrade asked - me to send two files: apt.log and main.log, I am pasting apt.log at the - bottom of this section - OUTPUT at command prompt: + 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: 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 + 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. + 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 + 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 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.ddone. 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: + libapache2-mod-php5 + php5 + Error in function: + A fatal error occurred - 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. + 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) - - - - apt.log - - Log time: 2015-06-22 10:06:43.384289 - Log time: 2015-06-22 10:06:52.362093 - Log time: 2015-06-22 10:08:00.584588 - MarkInstall linux-headers-generic [ amd64 ] < 3.13.0.43.50 -> 3.16.0.41.41 > ( devel ) FU=0 - Installing linux-headers-3.16.0-41-generic as Depends of linux-headers-generic - MarkInstall linux-headers-3
[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
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.ddone. 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1467552] package libapache2-mod-php5 5.5.12+dfsg-2ubuntu4.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
/repo/config/etc/php.ini is a custom ini that is linked to /etc/php5 apache2 and cli folders. The same file linked in both places since Apache virtual hosts override ini directives via php_value. I'm guessing I should of removed those links before attempting the upgrade. After the upgrade, Apache and php was kind of screwed up until I purged them completely from the system and installed them again via apt-get install (which installed the 14.10 versions of apache and php properly). Now everything seems to work just fine. I was asked whether I wanted to keep both ini files and I said yes keep them. On the second one it displayed that error. I can’t be 100% sure but I believe the system is fully operational and upgraded properly. Thankfully for my sake, this was a test VM specifically created to try out the upgrade from 14.04 => 14.10. Andrew > On Jun 23, 2015, at 7:06 AM, Robie Basak <1467...@bugs.launchpad.net> wrote: > > 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. > > ** Changed in: php5 (Ubuntu) > Status: New => Incomplete > > -- > You received this bug notification because you are subscribed to the bug > report. > 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 > > Status in php5 package in Ubuntu: > Incomplete > > 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/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.ddone. > 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) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1467552/+subscriptions > -
Re: [Bug 1467552] package libapache2-mod-php5 5.5.12+dfsg-2ubuntu4.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
BTW, I can’t login. I use a password manager so I know the password and username are correct. After clicking login I get a page that says “Bad Request”. That seems like an error in the backend rather than an authentication error. Because of this, I can’t change the status of the report. Andrew chernow > On Jun 23, 2015, at 7:06 AM, Robie Basak <1467...@bugs.launchpad.net> wrote: > > 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. > > ** Changed in: php5 (Ubuntu) > Status: New => Incomplete > > -- > You received this bug notification because you are subscribed to the bug > report. > 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 > > Status in php5 package in Ubuntu: > Incomplete > > 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/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.ddone. > 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) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1467552/+subscriptions > -- 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 fa
Re: [Bug 1467552] package libapache2-mod-php5 5.5.12+dfsg-2ubuntu4.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
One more thing that I think might be important. /repo was a symlink itself to a mounted VMWare Fusion OS X host shared folder. /repo -> /mnt/hgfs/andrew/projects/PROJNAME and I am now wondering if that shared folder disconnected during the upgrade, thus the php.ini links were severed. I apologize for this oversight. I believe the shared folder feature is implemented as a kernel module. Andrew > On Jun 23, 2015, at 7:06 AM, Robie Basak <1467...@bugs.launchpad.net> wrote: > > 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. > > ** Changed in: php5 (Ubuntu) > Status: New => Incomplete > > -- > You received this bug notification because you are subscribed to the bug > report. > 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 > > Status in php5 package in Ubuntu: > Incomplete > > 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/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.ddone. > 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) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1467552/+subscriptions > -- 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 --