Package: apache Version: 1.3.34-3 same bug here output is here /var/lib/dpkg/info# DEBCONF_DEBUG=developer debconf apache.postinst debconf (developer): starting apache.postinstCan't exec "apache.postinst": No such file or directory at /usr/share/perl/5.8/IPC/Open3.pm line 168. open2: exec of apache.postinst failed at /usr/share/perl5/Debconf/ConfModule.pm line 58
apt-get install 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=
+ SERNAMERB=
+ '[' '!' '' ']'
++ 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*serveradmi
n/i}'
++ tail -n 1
++ awk '{print $2}'
+ SERADMIN=webmaster@localhost
+ SERADMINRB=webmaster@localhost
+ '[' '!' '' ']'
++ 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*documentro
ot/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
+ '[' '!' '' ']'
++ pget /etc/apache/modules.conf.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=
+ SERNAMERB=
+ '[' '!' webmaster@localhost ']'
+ '[' '!' /var/www ']'
+ '[' apache '!=' apache-ssl ']'
+ '[' '!' 80 ']'
+ '[' '!' '' ']'
+ 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
E: Sub-process /usr/bin/dpkg returned an error code (1)