Bug#716880: apache2 upgrade failed
Package: apache2
Version: 2.4.4-6
Severity: grave
Justification: renders package unusable
The apache2 upgrade failed:
(Reading database ... 475293 files and directories currently installed.)
Removing libapache2-svn ...
Module authz_svn already disabled
Module dav_svn already disabled
Purging configuration files for libapache2-svn ...
(Reading database ... 475280 files and directories currently installed.)
Preparing to replace libapache2-mod-perl2 2.0.8-1 (using .../libapache2-mod-perl2_2.0.8+httpd24-r1449661-5_amd64.deb) ...
Unpacking replacement libapache2-mod-perl2 ...
Processing triggers for man-db ...
dpkg: apache2.2-common: dependency problems, but removing anyway as you requested:
apache2-mpm-worker depends on apache2.2-common (= 2.2.22-13).
apache2 depends on apache2.2-common (= 2.2.22-13).
(Reading database ... 475286 files and directories currently installed.)
Removing apache2.2-common ...
Purging configuration files for apache2.2-common ...
dpkg: warning: while removing apache2.2-common, directory '/usr/lib/cgi-bin' not empty so not removed
dpkg: warning: while removing apache2.2-common, directory '/var/log/apache2' not empty so not removed
dpkg: warning: while removing apache2.2-common, directory '/var/www' not empty so not removed
Processing triggers for man-db ...
(Reading database ... 474859 files and directories currently installed.)
Preparing to replace apache2 2.2.22-13 (using .../apache2_2.4.4-6_amd64.deb) ...
Unpacking replacement apache2 ...
Preparing to replace apache2-mpm-worker 2.2.22-13 (using .../apache2-mpm-worker_2.4.4-6_amd64.deb) ...
Unpacking replacement apache2-mpm-worker ...
Preparing to replace apache2.2-bin 2.2.22-13 (using .../apache2.2-bin_2.4.4-6_amd64.deb) ...
Unpacking replacement apache2.2-bin ...
Selecting previously unselected package apache2-bin.
Unpacking apache2-bin (from .../apache2-bin_2.4.4-6_amd64.deb) ...
Selecting previously unselected package apache2-data.
Unpacking apache2-data (from .../apache2-data_2.4.4-6_all.deb) ...
Preparing to replace apache2-doc 2.2.22-13 (using .../apache2-doc_2.4.4-6_all.deb) ...
Unpacking replacement apache2-doc ...
dpkg: warning: unable to delete old directory '/etc/apache2/conf.d': Directory not empty
Preparing to replace apache2-utils 2.2.22-13 (using .../apache2-utils_2.4.4-6_amd64.deb) ...
Unpacking replacement apache2-utils ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file...
Registering documents with scrollkeeper...
Setting up apache2-bin (2.4.4-6) ...
Setting up libapache2-mod-perl2 (2.0.8+httpd24-r1449661-5) ...
apache2_invoke: Enable module perl
Action 'configtest' failed.
The Apache error log may have more information.
apache2_reload: Your configuration is broken. Not restarting Apache 2
Setting up apache2-data (2.4.4-6) ...
Setting up apache2 (2.4.4-6) ...
Directory /etc/apache2/conf.d is not empty - leaving as is
Please note, that directory is considered obsolete and not read anymore by default
apache2-doc.dpkg-remove javascript-common.conf
Enabling module mpm_worker.
Enabling module authn_core.
Enabling module authz_core.
Enabling module filter.
Enabling module access_compat.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
[FAIL] Restarting web server: apache2 failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing apache2 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-worker:
apache2-mpm-worker depends on apache2 (= 2.4.4-6); however:
Package apache2 is not configured yet.
dpkg: error processing apache2-mpm-worker (--configure):
dependency problems - leaving unconfigured
Setting up apache2.2-bin (2.4.4-6) ...
Setting up apache2-doc (2.4.4-6) ...
apache2_invoke: Enable configuration apache2-doc
Action 'configtest' failed.
The Apache error log may have more information.
apache2_reload: Your configuration is broken. Not reloading Apache 2
Setting up apache2-utils (2.4.4-6) ...
Errors were encountered while processing:
apache2
apache2-mpm-worker
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up apache2 (2.4.4-6) ...
Directory /etc/apache2/conf.d is not empty - leaving as is
Please note, that directory is considered obsolete and not read anymore by default
javascript-common.conf
[FAIL] Restarting web server: apache2 failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing apache2 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-worker:
apache2-mpm-worker depends on apache2 (= 2.4.4-6); however:
Package apache2 is not configured yet.
dpkg: error processing apache2-mpm-worker (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2
apache2-mpm-worker
The problem seems to come from the following
/var/lib/dpkg/info/apache2.postinst line in:
invoke-rc.d apache2 $_dh_action || exit $?
It may be normal that apache2 can't be restarted, e.g. if the
configuration files need to be updated like here. So, a failure
to restart apache2 is not a reason to leave the system in an
inconsistent state (possibly affecting other packages).
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2 depends on:
ii apache2-bin 2.4.4-6
ii apache2-data 2.4.4-6
ii lsb-base 4.1+Debian12
ii mime-support 3.54
ii perl 5.14.2-21
ii procps 1:3.3.8-2
Versions of packages apache2 recommends:
ii ssl-cert 1.0.32
Versions of packages apache2 suggests:
ii apache2-doc 2.4.4-6
pn apache2-suexec-pristine | apache2-suexec-custom <none>
ii apache2-utils 2.4.4-6
ii chromium [www-browser] 27.0.1453.110-2
ii elinks [www-browser] 0.12~pre6-1
ii epiphany-browser [www-browser] 3.4.2-2.1
ii iceweasel [www-browser] 22.0-1
ii links [www-browser] 2.7-2
ii links2 [www-browser] 2.7-2
ii lynx-cur [www-browser] 2.8.8dev.15-2
ii midori [www-browser] 0.4.3+dfsg-0.1
ii uzbl [www-browser] 0.0.0~git.20120514-1.1
ii w3m [www-browser] 0.5.3-8
Versions of packages apache2-bin depends on:
ii libapr1 1.4.5-1.1
ii libaprutil1 1.5.2-1
ii libaprutil1-dbd-mysql 1.5.2-1
ii libaprutil1-ldap 1.5.2-1
ii libc6 2.17-7
ii libcap2 1:2.22-1.2
ii libldap-2.4-2 2.4.31-1+nmu2
ii liblua5.1-0 5.1.5-4
ii libpcre3 1:8.31-2
ii libssl1.0.0 1.0.1e-3
ii libxml2 2.9.1+dfsg1-2
ii perl 5.14.2-21
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages apache2-bin suggests:
ii apache2-doc 2.4.4-6
pn apache2-suexec-pristine | apache2-suexec-custom <none>
ii chromium [www-browser] 27.0.1453.110-2
ii elinks [www-browser] 0.12~pre6-1
ii epiphany-browser [www-browser] 3.4.2-2.1
ii iceweasel [www-browser] 22.0-1
ii links [www-browser] 2.7-2
ii links2 [www-browser] 2.7-2
ii lynx-cur [www-browser] 2.8.8dev.15-2
ii midori [www-browser] 0.4.3+dfsg-0.1
ii uzbl [www-browser] 0.0.0~git.20120514-1.1
ii w3m [www-browser] 0.5.3-8
Versions of packages apache2 is related to:
ih apache2 2.4.4-6
ii apache2-bin 2.4.4-6
-- no debconf information
Reply to: