Tags: patch I have found this problem in the postinst script which tries to add this module to apache, apache-ssl and apache-perl. Inspecting other apache modules' postinst scripts, I made this patch. That error message is produced by apache-modconf exactly when it can't find directory /etc/apache{-perl,-ssl}. So I added this check to my patch. Other modules (mod-jk or mod-php4) use tests for httpd.conf or modules.conf, but I think testing the same as apache-modconf utility is correct.
--- libapache-mod-choke.postinst.old 2005-09-11 00:08:26.000000000 +0200 +++ /var/lib/dpkg/info/libapache-mod-choke.postinst 2005-09-11 00:08:49.000000000 +0200 @@ -8,7 +8,9 @@ case "$1" in configure) for i in apache apache-ssl apache-perl ; do - /usr/sbin/apache-modconf $i enable mod_choke + if [ -d /etc/$i ]; then + /usr/sbin/apache-modconf $i enable mod_choke + fi done ;; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]