Hi, apache2-common fails installation since its postinst script exits 1 when called as /var/lib/dpkg/info/apache2-common.postinst configure . This is due to a wrong exit code of the a2enmod script. This script is fixed with this patch: ----------------------------------------------------------------------- --- /usr/sbin/a2enmod.dist 2004-09-18 19:26:32.000000000 +0200 +++ /usr/sbin/a2enmod 2004-09-26 12:58:30.000000000 +0200 @@ -13,7 +13,7 @@ #figure out if we're on a prefork or threaded mpm if [ -x /usr/sbin/apache2 ]; then - PREFORK=`/usr/sbin/apache2 -l|grep prefork` + PREFORK=`/usr/sbin/apache2 -l|grep prefork || true` fi if [ $MODNAME = "cgi" ] && [ -z $PREFORK ]; then ----------------------------------------------------------------------- After applying this patch, one can run # dpkg --configure apache2-common and go on upgrading. Bye, Joost
Attachment:
signature.asc
Description: Digital signature