Package: libc6
Version: 2.3.1-3
Severity: critical
Tags: sid patch

The apache2 package which provides /etc/init.d/apache2 is
apache2-common, thus the code in postinst fails to detect it.
A patch attached to fix it, is ugly but should work.
-Thom



--- /var/lib/dpkg/info/libc6.postinst   2002-10-18 17:43:05.000000000 +0100
+++ libc6.postinst      2002-10-22 23:13:48.000000000 +0100
@@ -166,9 +166,13 @@
            check="nis smail sendmail exim ssh netbase apache proftpd"
            check="$check ssh-nonfree postfix-tls wu-ftpd boa cron postfix"
            check="$check wu-ftpd-academ slapd openldapd logind wwwoffle"
-           check="$check lprng lpr autofs snmpd ssh-krb5 apache2"
+           check="$check lprng lpr autofs snmpd ssh-krb5"
            # Only get the ones that are installed, and configured
            check=$(dpkg -s $check | awk 'BEGIN{RS="\n\n";FS="\n"}{if ( $2 ~ 
/Status: .* installed$/ ) { print $1 } }' | cut -f 2 -d ' ')
+           #apache2 ships its init script in apache2-common, but the 
+           #script is apache2
+           apache2=$(dpkg -s apache2-common | awk 'BEGIN{RS="\n\n";FS="\n"}{if 
( $2 ~ /Status: .* installed$/ ) { print "apache2" } }')
+           check="$check $apache2"
            # We have to list inetd explicitly, because the package is a
            # different name from it's init script
            check="$check inetd"



Reply via email to