Hi, got the same problem here. Here's a trace of the postinst script:
Setting up apache (1.3.34-3) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/apache.postinst configure 1.3.34-2 + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + . /usr/share/apache/postinst.common + '[' configure '!=' configure ']' + HIDE= + '[' 1.3.34-2 '!=' '' ']' + UPGRADE=true + dpkg --compare-versions 1.3.34-2 ge 1.3.28-1 + HIDE=quiet + dpkg --compare-versions 1.3.34-2 lt 1.3.27-0.1 + dpkg --compare-versions 1.3.34-2 eq 1.3.34-3 + dpkg --compare-versions 1.3.34-2 ge 1.3.29.0.1-1 + '[' -e /etc/apache/suexec.limits ']' + /usr/sbin/apache-modconf apache internal quiet + '[' true '!=' true ']' + do_all apache + '[' 1 -ne 1 ']' + pkg=apache + '[' '!' -e /etc/apache/modules.conf ']' ++ printf '\x07' + export $'IFS=\a' + IFS=$'\a' ++ /usr/share/apache/listconffiles /etc/apache/httpd.conf.dpkg-inst.queue + CONFS=$'/etc/apache/modules.conf\a/etc/apache/conf.d/php4.conf\a/etc/apache/conf.d/lisp.conf\a' ++ printf '\x07' + export $'CONFS=/etc/apache/httpd.conf.dpkg-inst.queue\a/etc/apache/modules.conf\a/etc/apache/conf.d/php4.conf\a/etc/apache/conf.d/lisp.conf\a' + CONFS=$'/etc/apache/httpd.conf.dpkg-inst.queue\a/etc/apache/modules.conf\a/etc/apache/conf.d/php4.conf\a/etc/apache/conf.d/lisp.conf\a' + prepare_ucf apache + '[' 1 -ne 1 ']' + pkg=apache + for i in '$CONFS' + '[' '!' -e /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue ']' + for i in '$CONFS' + '[' '!' -e /etc/apache/modules.conf.dpkg-inst.queue ']' + for i in '$CONFS' + '[' '!' -e /etc/apache/conf.d/php4.conf.dpkg-inst.queue ']' + for i in '$CONFS' + '[' '!' -e /etc/apache/conf.d/lisp.conf.dpkg-inst.queue ']' + do_debconf_configs apache + '[' 1 -ne 1 ']' + pkg=apache + for i in '$CONFS' + i=/etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue + '[' '!' '' ']' ++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue servername ++ perl -e ' OUTER: while (<>) {next OUTER if /^\s*#/;next OUTER if /^$/;if ( (/<virtualhost/i && ! /#.*<virtualhost/i) || /<virtualhost.*#.*<virtualhost/i ){ INNER: while (<>) { next INNER until /<\/virtualhost/i }};print if /^\s*servername/i}' ++ tail -n 1 ++ awk '{print $2}' + SERNAME=localhost + SERNAMERB=localhost + '[' '!' '' ']' ++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue serveradmin ++ perl -e ' OUTER: while (<>) {next OUTER if /^\s*#/;next OUTER if /^$/;if ( (/<virtualhost/i && ! /#.*<virtualhost/i) || /<virtualhost.*#.*<virtualhost/i ){ INNER: while (<>) { next INNER until /<\/virtualhost/i }};print if /^\s*serveradmin/i}' ++ tail -n 1 ++ awk '{print $2}' + [EMAIL PROTECTED] + [EMAIL PROTECTED] + '[' '!' '' ']' ++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue documentroot ++ tail -n 1 ++ awk '{print $2}' ++ perl -e ' OUTER: while (<>) {next OUTER if /^\s*#/;next OUTER if /^$/;if ( (/<virtualhost/i && ! /#.*<virtualhost/i) || /<virtualhost.*#.*<virtualhost/i ){ INNER: while (<>) { next INNER until /<\/virtualhost/i }};print if /^\s*documentroot/i}' + DOCROOT=/var/www + DOCROOTRB=/var/www + '[' apache '!=' apache-ssl ']' + '[' '!' '' ']' ++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue port ++ perl -e ' OUTER: while (<>) {next OUTER if /^\s*#/;next OUTER if /^$/;if ( (/<virtualhost/i && ! /#.*<virtualhost/i) || /<virtualhost.*#.*<virtualhost/i ){ INNER: while (<>) { next INNER until /<\/virtualhost/i }};print if /^\s*port/i}' ++ tail -n 1 ++ awk '{print $2}' + PORT=80 + PORTRB=80 + for i in '$CONFS' + i=/etc/apache/modules.conf.dpkg-inst.queue + '[' '!' localhost ']' + '[' '!' [EMAIL PROTECTED] ']' + '[' '!' /var/www ']' + '[' apache '!=' apache-ssl ']' + '[' '!' 80 ']' + for i in '$CONFS' + i=/etc/apache/conf.d/php4.conf.dpkg-inst.queue + '[' '!' localhost ']' + '[' '!' [EMAIL PROTECTED] ']' + '[' '!' /var/www ']' + '[' apache '!=' apache-ssl ']' + '[' '!' 80 ']' + for i in '$CONFS' + i=/etc/apache/conf.d/lisp.conf.dpkg-inst.queue + '[' '!' localhost ']' + '[' '!' [EMAIL PROTECTED] ']' + '[' '!' /var/www ']' + '[' apache '!=' apache-ssl ']' + '[' '!' 80 ']' + '[' '!' localhost ']' + db_set apache/server-name localhost + _db_cmd 'SET apache/server-name' localhost + printf '%s\n' 'SET apache/server-namelocalhost' + IFS=' ' + read -r _db_internal_line + RET='10 apache/server-namelocalhost doesn'\''t exist' + case ${_db_internal_line%%[ ]*} in + return 10 dpkg: error processing apache (--configure): subprocess post-installation script returned error exit status 10 Errors were encountered while processing: apache Since I don't need apache on that machine, I just put 'exit 0' at the top of /var/lib/dpkg/info/apache{,-ssl}.postinst and purged both packages. Goodbyte, Gerd. -- The last thing one knows in constructing a work is what to put first. -- Blaise Pascal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]