[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#383285: apache: Error 10 in postinst

Package: apache
Version: 1.3.34-3
Severity: important

Hi !

This bug may be related to #366843.

When configuring, apache fails in postinst with error 10.

Here is the end of "sudo /usr/share/debconf/frontend sh -xv
/var/lib/dpkg/info/apache.postinst configure" :

+ 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

I don't understand why server-name and localhost are concatenated at
the third line. This is the result of $* (maybe this is IFS related
?). I have this bug on two different systems.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-486
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages apache depends on:
ii  apache-common                 1.3.34-3   support files for all Apache webse
ii  debconf [debconf-2.0]         1.5.3      Debian configuration management sy
ii  libc6                         2.3.6-19   GNU C Library: Shared libraries
ii  libdb4.4                      4.4.20-7   Berkeley v4.4 Database Libraries [
ii  libexpat1                     1.95.8-3.2 XML parsing C library - runtime li
ii  libmagic1                     4.17-3     File type determination library us
ii  logrotate                     3.7.1-3    Log rotation utility
ii  lsb-base                      3.1-14     Linux Standard Base 3.1 init scrip
ii  mime-support                  3.37-1     MIME files 'mime.types' & 'mailcap
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 

apache recommends no packages.

-- debconf information:
* apache/enable-suexec: false
  apache/server-name: localhost
  apache/document-root: /var/www
  apache/server-port: 80
  apache/init: true
  apache/server-admin: you@your.address

Reply to: