At Tue, 22 Oct 2002 23:21:38 +0100, Thom May wrote: > 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.
Thanks for your tracking apache2. BTW, do you think this patch? --- postinst 2002-10-22 12:43:47.000000000 +0900 +++ postinst.new 2002-10-25 13:12:04.000000000 +0900 @@ -171,6 +171,9 @@ check="$check uw-imapd uw-imapd-ssl" # 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 + check=$(sed 's/apache2-common/apache2/' $check) # We have to list inetd explicitly, because the package is a # different name from it's init script check="$check inetd" > -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" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]