server upgrade gutsy->hardy failed - Errors were encountered while processing: libapache2-mod-php5 (probably my fault)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ucf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
it's probably my fault but since it told me to report the bug here, here I come :-)
I was remotely upgrading a server from gutsy to hardy (I had upgraded it from feisty a few months ago).
At one point it told me I had modified php.ini and whether I wanted to see the differences, keep my old php.ini or replace it with the new one (using the "blue menu", not plain text console).
I asked for an option I hadn't used before: "see side-by-side differences", and it probably tried to launch something it didn't have or that wasn't running properly, the point is that it went back to the text console, nothing happened:
#######
Setting up apache2 (2.2.8-1ubuntu0.3) ...
Setting up g++-4.1 (4.1.2-21ubuntu1) ...
Setting up libstdc++6-4.2-dev (4.2.3-2ubuntu7) ...
Setting up libapache2-mod-ruby (1.2.6-1.2) ...
This module is already enabled!
Setting up libapache2-
Installing new version of config file /etc/apache2/
Setting up libapache2-
Installing new version of config file /etc/apache2/
Setting up libapache2-mod-php5 (5.2.4-2ubuntu5.3) ...
#######
after waiting a while, the only thing I (thought I) could do was hit ctrl-C, which I did and it went on:
#######
dpkg: error processing libapache2-mod-php5 (--configure):
subprocess post-installation script killed by signal (Interrupt)
Setting up libapache2-
Setting up libapache2-
Installing new version of config file /etc/apache2/
Setting up libsvn1 (1.5.1dfsg1-
Setting up subversion (1.5.1dfsg1-
Installing new version of config file /etc/bash_
Installing new version of config file /etc/subversion
Installing new version of config file /etc/subversion
Setting up libapache2-svn (1.5.1dfsg1-
This module is already enabled!
#######
I never chose that option again (the plain "see differences" worked OK showing a "diff -u" of both files), at the end of the process I got:
#######
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
Errors were encountered while processing:
libapache2-
Could not install the upgrades
The upgrade aborts now. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Please report this bug against the 'update-manager' package and
include the files in /var/log/
E:Sub-process /usr/bin/dpkg returned an error code (1)
Setting up libapache2-mod-php5 (5.2.4-2ubuntu5.3) ...
Replacing config file /etc/php5/
* Reloading web server config apache2
Could not install the upgrades
The upgrade aborts now. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Please report this bug against the 'update-manager' package and
include the files in /var/log/
installArchives() failed
#######
and here I am...
I manually started apache and it's working, and within it, subversion over https and a moinmoin wiki and a bugzilla I installed manually (not from .deb).
But I didn't dare to reboot until the process somehow tells me everything has been done.
I'm attaching the /var/log/
Any hint appreciated.
Well,
finally I took courage and after
Well, apparantly everything went smoothly after
dpkg --configure -a
apt-get autoremove
shutdown -r now
everything went smoothly
PS: I don't think I'm able to close this bug, but whoever sees it that has the power, please do so.