Bug#383267: apache: subprocess post-installation script returned error exit status 10

2006-09-05 Thread Bj�rn Mork
Package: apache
Version: 1.3.33-6sarge3
Severity: important
Tags: security
Followup-For: Bug #383267

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This bug is also present in the latest security updates for Sarge,
preventing them from being applied.  I believe that the fix from 
1.3.34-4 should be backported and distributed as an updated 
security fix with an updated version of DSA 1167.

Here's a trace from trying to upgrade as recommended by DSA 1167-1:
version of 
rasputin:/var/lib/dpkg/info# apt-get upgrade
+ apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
  bash bc console-common evolution ftp gstreamer0.8-alsa less 
libedata-book1.2-2 libgnomecups1.0-1 libgstreamer-plugins0.8-0
  liblinphone1 mtr-tiny nfs-common ntp pcmcia-cs procps psmisc qsynaptics tcsh 
whiptail
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up apache (1.3.33-6sarge3) ...
+ . /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.33-6sarge2
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ . /usr/share/apache/postinst.common
+ '[' configure '!=' configure ']'
+ HIDE=
+ '[' 1.3.33-6sarge2 '!=' '' ']'
+ UPGRADE=true
+ dpkg --compare-versions 1.3.33-6sarge2 ge 1.3.28-1
+ HIDE=quiet
+ dpkg --compare-versions 1.3.33-6sarge2 lt 1.3.27-0.1
+ dpkg --compare-versions 1.3.33-6sarge2 eq 1.3.33-6sarge3
+ dpkg --compare-versions 1.3.33-6sarge2 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'
++ printf '\x07'
+ export 
$'CONFS=/etc/apache/httpd.conf.dpkg-inst.queue\a/etc/apache/modules.conf\a'
+ CONFS=$'/etc/apache/httpd.conf.dpkg-inst.queue\a/etc/apache/modules.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 ']'
+ 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
++ 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}'
++ tail -n 1
++ awk '{print $2}'
+ 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 ']'
+ '[' '!' 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


- -- System Information:

Bug#383267: apache: subprocess post-installation script returned error exit status 10

2006-09-05 Thread Adam Conrad
Bj�rn Mork wrote:
 
 This bug is also present in the latest security updates for Sarge,
 preventing them from being applied.  I believe that the fix from 
 1.3.34-4 should be backported and distributed as an updated 
 security fix with an updated version of DSA 1167.
 
 ii  debconf   1.5.3  Debian configuration management 
 sy

This bug only manifests on your system because you're not using Sarge's
version (1.4.30.13) of Debconf.  I don't think that fixing bugs in
stable because of their interaction with packages from testing is really
all that sane.

... Adam



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]