[Pkg-net-snmp-devel] Bug#391203: Upgrading snmpd from 5.2.2-3 to 5.2.3-1 hangs in snmpd.postinst

Peter Valdemar Mørch lrpn59b02 at sneakemail.com
Thu Oct 5 11:00:23 UTC 2006

Package: snmpd
Version: 5.2.3-1
Severity: normal

I have noticed this on several machines, that upgrading snmpd just 
"sits there"

I have taken a ps -ef --forest when it happens, and that shows:
root      4213  3193  0 12:24 pts/0    00:00:00  |           \_ apt-get install snmpd
root      4448  4213  0 12:25 pts/0    00:00:00  |               \_ /usr/bin/dpkg --status-fd 11 --configure perl perl-modules libperl5.8 libperl-dev libsnmp-base libsnmp9 libsnmp-perl snmpd
root      4458  4448  0 12:26 pts/0    00:00:00  |                   \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/snmpd.postinst configure 5.2.2-3
root      4469  4458  0 12:26 pts/0    00:00:00  |                       \_ [snmpd.postinst] <defunct>

And this process tree never finishes. Hitting CTRL-C terminates the 
snmpd.postinst and the apt-get install finishes with an error for snmpd.
A subsequent apt-get install -f apparently fixes that error and the system
seems to be in a "good" state afterwards. But apt-get install hangs and 
requires manual intervention.

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.vmware
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages snmpd depends on:
ii  adduser                       3.87       Add and remove users and groups
ii  debconf                       1.5.2      Debian configuration management sy
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libsensors3                   1:2.10.0-7 library to read temperature/voltag
ii  libsnmp9                      5.2.3-1    NET SNMP (Simple Network Managemen
ii  libwrap0                      7.6.dbs-9  Wietse Venema's TCP wrappers libra

snmpd recommends no packages.

-- debconf information:
* snmpd/upgradefrom521:

More information about the Pkg-net-snmp-devel mailing list