Bug#716880: apache2 upgrade failed
On 2013-07-14 01:51:55 +0200, Vincent Lefevre wrote:
> Package: apache2
> Version: 2.4.4-6
> Severity: grave
> Justification: renders package unusable
>
> The apache2 upgrade failed:
[...]
And when I tried to remove it, this failed:
The following packages will be REMOVED:
apache2* apache2-bin* apache2-data* apache2-doc* apache2-mpm-worker*
apache2-utils* apache2.2-bin* libapache2-mod-perl2* libapache2-reload-perl*
0 upgraded, 0 newly installed, 9 to remove and 6 not upgraded.
2 not fully installed or removed.
After this operation, 27.1 MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 476048 files and directories currently installed.)
Removing libapache2-reload-perl ...
Removing libapache2-mod-perl2 ...
Module perl disabled.
apache2_invoke prerm: Disable module perl
Action 'configtest' failed.
The Apache error log may have more information.
apache2_reload: Your configuration is broken. Not restarting Apache 2
Purging configuration files for libapache2-mod-perl2 ...
apache2_invoke postrm: Purging state for perl
Removing apache2 ...
[FAIL] Stopping web server: apache2 failed!
invoke-rc.d: initscript apache2, action "stop" failed.
dpkg: error processing apache2 (--purge):
subprocess installed pre-removal script returned error exit status 1
[FAIL] Starting web server: apache2 failed!
The apache2 configtest failed. Please run 'env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin /usr/sbin/apache2ctl configtest' manually and read the log file to discover problems
failed!
invoke-rc.d: initscript apache2, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Removing apache2-mpm-worker ...
Removing apache2.2-bin ...
Removing apache2-bin ...
Removing apache2-data ...
Removing apache2-doc ...
Purging configuration files for apache2-doc ...
apache2_invoke postrm: Purging configuration apache2-doc
Action 'configtest' failed.
The Apache error log may have more information.
apache2_reload: Your configuration is broken. Not reloading Apache 2
Removing apache2-utils ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Errors were encountered while processing:
apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)
It's stupid to want to reload the configuration when the package
is going to be removed!
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: