On Wed, 24 Mar 2010 17:28:49 +0100, Alessandro De Zorzi wrote: > Adding "set -x" flag in phamm.postinst I get: > > Setting up phamm (0.5.15-1) ... > + CONFFILE=/etc/phamm/config.php > + PLUGINS=/etc/phamm/plugins > + . /usr/share/debconf/confmodule > + [ ! ] > + PERL_DL_NONLAZY=1 > + export PERL_DL_NONLAZY > + [ ] > + exec /usr/share/debconf/frontend /var/lib/dpkg/info/phamm.postinst > configure > dpkg: error processing phamm (--configure): > subprocess installed post-installation script returned error exit status 10 > Errors were encountered while processing: > phamm > E: Sub-process /usr/bin/dpkg returned an error code (1)
With set -x also on phamm.config I get: + CONFFILE=/etc/phamm/config.php + PLUGINS=/etc/phamm/plugins + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/phamm.postinst configure '' + CONFFILE=/etc/phamm/config.php + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + db_version 2.0 + _db_cmd 'VERSION 2.0' + IFS=' ' + printf '%s\n' 'VERSION 2.0' + IFS=' ' + read -r _db_internal_line + RET=2.0 + case ${_db_internal_line%%[ ]*} in + return 0 + '[' -f /etc/ldap/slapd.conf ']' + '[' -f /etc/libnss-ldap.conf ']' + '[' -f /etc/pam_ldap.conf ']' + db_get slapd/domain + _db_cmd 'GET slapd/domain' + IFS=' ' + printf '%s\n' 'GET slapd/domain' + IFS=' ' + read -r _db_internal_line + RET='10 slapd/domain doesn'\''t exist' + case ${_db_internal_line%%[ ]*} in + return 10 Looks like the .control tries to read slapd/domain and doesn't find it ... Cheers, gregor -- .''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x8649AA06, 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Sting: Englishman In New York
signature.asc
Description: Digital signature