package cgroup-bin 0.37.1-1ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

Bug #769025 reported by Carl
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libcgroup (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: cgroup-bin

Just tried to purge cgroup-bin and libcgroup1. libcgroup1 purged correctly. cgroup-bin didn't want to leave.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: cgroup-bin 0.37.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
AptOrdering: cgroup-bin: Remove
Architecture: amd64
Date: Fri Apr 22 11:13:29 2011
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
SourcePackage: libcgroup
Title: package cgroup-bin 0.37.1-1ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-04-07 (14 days ago)

Related branches

Revision history for this message
Carl (thecarlhall) wrote :
Changed in libcgroup (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for taking the time to submit this bug and helping to make Ubuntu
better.

I confirmed this simply by doing
  apt-get install cgroup-bin
  reboot
  apt-get purge cgroup-bin libcgroup1

As a workaround until we get this fixed, after the failed purge, you can

  apt-get install -f
    # which will re-install libcgroup1
  apt-get purge libcgroup1

after which both cgroup-bin and libcgroup1 are purged, and aptitude is
once again happy.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

The culprit is the 'umount /sys/fs/cgroup' which I added to cgconfig.conf's post-stop. Changing that to

   umount /sys/fs/cgroup || true

fixes the issue for me.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libcgroup - 0.37.1-1ubuntu2

---------------
libcgroup (0.37.1-1ubuntu2) natty; urgency=low

  * Don't fail cgconfig stop on account of the umount. (LP: #769025)
 -- Serge Hallyn <email address hidden> Fri, 22 Apr 2011 11:06:38 -0500

Changed in libcgroup (Ubuntu):
status: Confirmed → Fix Released
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.