Package: snmpd Version: 5.4.3~dfsg-2 Severity: important When the nis package is installed, the postinst script fails. Removing the nis package, solves this.
The bug seems due to a read hack in the _db_cmd function in /usr/share/debconf/confmodule below is a log of what bash executed during installation: ---schnipp--- Setting up snmpd (5.4.3~dfsg-2) ... configured to not write apport reports configured to not write apport reports + [ xconfigure = xconfigure ] + getent group snmp + [ ! ] + deluser --quiet --system snmp make: Entering directory `/var/yp' make[1]: Entering directory `/var/yp/kinali.ch' Updating netid.byname... make[1]: Leaving directory `/var/yp/kinali.ch' make: Leaving directory `/var/yp' make: Entering directory `/var/yp' make[1]: Entering directory `/var/yp/kinali.ch' Updating passwd.byname... Updating passwd.byuid... Updating group.byname... Updating group.bygid... Updating netid.byname... Updating shadow.byname... make[1]: Leaving directory `/var/yp/kinali.ch' make: Leaving directory `/var/yp' + adduser --quiet --system --group --no-create-home --home /var/lib/snmp snmp make: Entering directory `/var/yp' make[1]: Entering directory `/var/yp/kinali.ch' Updating netid.byname... make[1]: Leaving directory `/var/yp/kinali.ch' make: Leaving directory `/var/yp' make: Entering directory `/var/yp' make[1]: Entering directory `/var/yp/kinali.ch' Updating netid.byname... make[1]: Leaving directory `/var/yp/kinali.ch' make: Leaving directory `/var/yp' make: Entering directory `/var/yp' make[1]: Entering directory `/var/yp/kinali.ch' Updating passwd.byname... Updating passwd.byuid... Updating netid.byname... make[1]: Leaving directory `/var/yp/kinali.ch' make: Leaving directory `/var/yp' + chown -R snmp:snmp /var/lib/snmp + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /var/lib/dpkg/info/snmpd.postinst configure 5.4.1~dfsg-12 + [ xconfigure = xconfigure ] + getent group snmp + [ ! ] + deluser --quiet --system snmp + adduser --quiet --system --group --no-create-home --home /var/lib/snmp snmp + chown -R snmp:snmp /var/lib/snmp + . /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=20 Unsupported command "make:" (full line was "make: Entering directory `/var/yp'") received from confmodule. + return 20 dpkg: error processing snmpd (--configure): subprocess installed post-installation script returned error exit status 128 ---schnapp--- -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.39.2 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages snmpd depends on: ii adduser 3.112+nmu2 add and remove users and groups ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libsnmp15 5.4.3~dfsg-2 SNMP (Simple Network Management Pr ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip snmpd recommends no packages. snmpd suggests no packages. -- Configuration Files: /etc/snmp/snmpd.conf [Errno 13] Permission denied: u'/etc/snmp/snmpd.conf' /etc/snmp/snmptrapd.conf [Errno 13] Permission denied: u'/etc/snmp/snmptrapd.conf' -- debconf information: snmpd/upgradefrom36: * snmpd/upgradefrom521: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org