package snmpd 5.4.3~dfsg-2.4ubuntu1 failed to install/upgrade: userdel: user snmp is currently logged in

Bug #994845 reported by BertN45
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
net-snmp (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

happened after upgrade from 11.10 to 12.04. Interrupted twice due to powerfail, restarted by dpkg --configure -a

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: snmpd 5.4.3~dfsg-2.4ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu7
AptOrdering: snmpd: Configure
Architecture: i386
Date: Fri May 4 16:45:07 2012
DpkgTerminalLog:
 Setting up snmpd (5.4.3~dfsg-2.4ubuntu1) ...
 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
DuplicateSignature:
 Setting up snmpd (5.4.3~dfsg-2.4ubuntu1) ...
 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
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SNMPVersion:
 NET-SNMP version: 5.4.3
 Web: http://www.net-snmp.org/
 Email: <email address hidden>
SourcePackage: net-snmp
SyslogSnmptrapd:

Title: package snmpd 5.4.3~dfsg-2.4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-04 (0 days ago)
modified.conffile..etc.default.snmpd: [modified]
modified.conffile..etc.snmp.snmpd.conf: [modified]
mtime.conffile..etc.default.snmpd: 2011-11-08T14:17:15.576745
mtime.conffile..etc.snmp.snmpd.conf: 2011-11-08T12:55:13.972147

Revision history for this message
BertN45 (lammert-nijhof) wrote :
tags: removed: need-duplicate-check
Revision history for this message
James Page (james-page) wrote :

Setting up snmpd (5.4.3 ~ dfsg-2.4ubuntu1) ...
userdel: user snmp is currently in the system
/ 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 code 1

summary: - package snmpd 5.4.3~dfsg-2.4ubuntu1 failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 1
+ package snmpd 5.4.3~dfsg-2.4ubuntu1 failed to install/upgrade: userdel:
+ user snmp is currently logged in
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in net-snmp (Ubuntu):
status: New → Confirmed
Revision history for this message
James Page (james-page) wrote :

Might be a dupe of bug 992354

Changed in net-snmp (Ubuntu):
importance: Undecided → Medium
Revision history for this message
James Page (james-page) wrote :

Thanks for taking the time to report this bug in Ubuntu.

I think that this issue is probably due to the upgrade being interrupted.

I would recommend the following steps to resolve:

    sudo /etc/init.d/snmpd stop
    sudo apt-get -f install

Hopefully this should resolve your issue.

I'm going to mark this bug as 'Incomplete' with a priority of 'Low'.

If these steps do resolve you issue please mark the bug as 'Invalid'.

Thanks

Changed in net-snmp (Ubuntu):
status: Confirmed → Incomplete
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.