Bug#391472: apache2: Stop script at upgrade fails because of new modules
Package: apache2
Version: 2.2.3-1
Severity: serious
When upgrading, I get the following log:
LANG=C apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
apache2.2-common
The following packages will be REMOVED:
apache2-common
The following NEW packages will be installed:
apache2.2-common
0 upgraded, 1 newly installed, 1 to remove and 73 not upgraded.
9 not fully installed or removed.
Need to get 0B/917kB of archives.
After unpacking 180kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 78200 files and directories currently installed.)
Removing apache2-common ...
Stopping apache 2.0 web server...apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/cgid.load: Cannot load /usr/lib/apache2/modules/mod_cgid.so into server: /usr/lib/apache2/modules/mod_cgid.so: undefined symbol: apr_filename_of_pathname
failed!
invoke-rc.d: initscript apache2, action "stop" failed.
dpkg: error processing apache2-common (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
apache2-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Why does the stop rule of the init script have to check the
configuration anyway ?
Mike
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apache2 depends on:
pn apache2-mpm-worker | apache2- <none> (no description available)
apache2 recommends no packages.
-- no debconf information
Reply to: