rabbitmq-server fails to uninstall

Bug #878597 reported by Scott Moser on 2011-10-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rabbitmq-server (Debian)
Fix Released
rabbitmq-server (Ubuntu)
Scott Moser

Bug Description

$ sudo apt-get --purge remove rabbitmq-server

0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
After this operation, 1,790 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 29070 files and directories currently installed.)
Removing rabbitmq-server ...
Stopping rabbitmq-server: rabbitmq-server.
Purging configuration files for rabbitmq-server ...
Removing user `rabbitmq' ...
Warning: group `rabbitmq' has no more members.
userdel: user rabbitmq is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel rabbitmq' returned error code 8. Exiting.
dpkg: error processing rabbitmq-server (--purge):
 subprocess installed post-removal script returned error exit status 1

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: rabbitmq-server (not installed)
ProcVersionSignature: User Name 3.0.0-12.20-virtual 3.0.4
Uname: Linux 3.0.0-12-virtual x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Thu Oct 20 00:42:19 2011
Ec2AMI: ami-87bb74ee
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-oneiric-daily-amd64-server-20111019.manifest.xml
Ec2AvailabilityZone: us-east-1c
Ec2InstanceType: m1.large
Ec2Kernel: aki-825ea7eb
Ec2Ramdisk: unavailable
SourcePackage: rabbitmq-server
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Dave Walker (davewalker) on 2011-10-21
Changed in rabbitmq-server (Ubuntu):
importance: Undecided → Medium
milestone: none → precise-alpha-1
Dave Walker (davewalker) on 2011-10-21
Changed in rabbitmq-server (Ubuntu):
assignee: nobody → Scott Moser (smoser)
Changed in rabbitmq-server (Debian):
status: Unknown → New
Daniel Hahler (blueyed) wrote :

This means that the process was still running when the script tried to remove the user.

http://wiki.debian.org/AccountHandlingInMaintainerScripts discusses if a system user should get deleted after all.

However, the server process should have been stopped anyway.

See bug #387945 about this issue in couchdb.

Changed in rabbitmq-server (Ubuntu):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rabbitmq-server - 2.6.1-1ubuntu2

rabbitmq-server (2.6.1-1ubuntu2) precise; urgency=low

  * close file handles of rabbitmq-server daemon in init script (LP: #878600)
  * fix dpkg failure on purge (LP: #878597)
 -- Scott Moser <email address hidden> Tue, 25 Oct 2011 12:51:20 -0400

Changed in rabbitmq-server (Ubuntu):
status: Triaged → Fix Released
Changed in rabbitmq-server (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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