package lxc (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned |
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)
ProcVersionSign
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)
Related branches
Changed in lxc (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Critical |
importance: | Critical → High |
Changed in lxc (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | Serge Hallyn (serge-hallyn) → nobody |
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.