/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 <[email protected]> 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.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)
> 
> 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

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to