[Pkg-net-snmp-devel] Bug#606784: snmptrapfmt: package fails to upgrade properly from lenny

Jochen Friedrich jochen at scram.de
Wed Jan 5 15:46:40 UTC 2011


Hi Lucas,

>> Restarting network management services: snmpd.
>> Preparing to replace snmpd 5.4.1~dfsg-12 (using .../snmpd_5.4.3~dfsg-1_amd64.deb) ...
>> invoke-rc.d: policy-rc.d denied execution of stop.
>> Unpacking replacement snmpd ...
>> invoke-rc.d: policy-rc.d denied execution of start.
>> Setting up snmpd (5.4.3~dfsg-1) ...
>> Installing new version of config file /etc/snmp/snmpd.conf ...
>> Installing new version of config file /etc/init.d/snmpd ...
>> Installing new version of config file /etc/default/snmpd ...
>> userdel: user snmp is currently logged in
>> /usr/sbin/deluser: `/usr/sbin/userdel snmp' returned error code 8. Exiting.
>> dpkg: error processing snmpd (--configure):
>> subprocess installed post-installation script returned error exit status 1
>> lsof: no pwd entry for UID 105
>> COMMAND   PID     USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME
>> snmpd   28360      105  cwd    DIR   0,20      420 15536394 /tmp/lucas/schroot/mount/lenny64-instest-8d6e51d2-f80a-44a4-ba80-2a6b6c8eea9e

It looks like the problem is due to a running snmpd in the chroot environment.
For some reason, snmpd 5.4.1~dfsg-12 is started at the beginning.
Later, the upgrade script is (correctly!) denied to restart snmpd in the chroot environment.

Thanks,
Jochen.





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