package lxc (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1

Bug #1029716 reported by Austin S. Hemmelgarn on 2012-07-27
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)

Bug Description

SRU Justification:
1. Impact: 'apt-get purge lxc' fails
2. Development fix: accept 'purge' as a valid argument to the postrm script
3. Stable fix: same as development fix.
4. Test case:
   sudo apt-get install lxc
   sudo apt-get purge lxc
5. Regression potential: this accepts 'purge', which is a valid option, as an argument to the postrm script. If there were a regression it would only be seen at package uninstall.

Occured while trying to purge all installed lxc packages.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: lxc (not installed)
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Thu Jul 26 20:35:55 2012
ErrorMessage: subprocess installed post-removal script returned error exit status 1
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: lxc
Title: package lxc (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Changed in lxc (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
importance: Critical → High
Serge Hallyn (serge-hallyn) wrote :

Thanks for submitting this bug, the postrm script does indeed have a bug which is present in precise but not quantal. I"ll therefore mark this fix released and request SRU for the postrm fix for precise.

Changed in lxc (Ubuntu Quantal):
status: Triaged → Fix Released
Changed in lxc (Ubuntu Precise):
importance: Undecided → High
Serge Hallyn (serge-hallyn) wrote :
description: updated
Changed in lxc (Ubuntu Precise):
status: New → Triaged
assignee: nobody → Serge Hallyn (serge-hallyn)
Changed in lxc (Ubuntu Precise):
status: Triaged → In Progress
assignee: Serge Hallyn (serge-hallyn) → nobody

Hello Austin, or anyone else affected,

Accepted into precise-proposed. The package will build now and be available in a few hours in the -proposed repository.

Please help us by testing this new package. See for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

Changed in lxc (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Stéphane Graber (stgraber) wrote :

Reproduced the bug and confirmed the fix.

tags: added: verification-done
removed: verification-needed

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 0.7.5-3ubuntu62

lxc (0.7.5-3ubuntu62) precise-proposed; urgency=low

  * lxc.postrm: support "purge" command (LP: #1029716)
 -- Serge Hallyn <email address hidden> Fri, 27 Jul 2012 03:31:39 +0000

Changed in lxc (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers