glance (2011.3-0ubuntu1) fails to install, error in .postinst
Bug #857021 reported by
Adam Gandelman
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance (Ubuntu) |
Fix Released
|
High
|
Adam Gandelman | ||
Oneiric |
Fix Released
|
High
|
Adam Gandelman |
Bug Description
Setting up glance (2011.3-0ubuntu1) ...
/var/lib/
dpkg: error processing glance (--configure):
subprocess installed post-installation script returned error exit status 2
Related branches
lp://staging/~gandelman-a/ubuntu/oneiric/glance/lp857021
- Dave Walker (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 45 lines (+11/-3)3 files modifieddebian/changelog (+7/-0)
debian/glance.postinst (+2/-1)
debian/glance.postrm (+2/-2)
lp://staging/~smoser/glance/merge-from-ubuntu
- Chuck Short (community): Approve
-
Diff: 60 lines (+22/-3)3 files modifieddebian/changelog (+11/-0)
debian/glance.postinst (+6/-2)
debian/glance.postrm (+5/-1)
tags: | added: server-o-rs |
Changed in glance (Ubuntu Oneiric): | |
milestone: | none → ubuntu-11.10 |
importance: | Undecided → High |
assignee: | nobody → Adam Gandelman (gandelman-a) |
To post a comment you must log in.
Also:
- There were typos in redirects to '/dev/null' that created files at '/dev/nul'
- postrm was failing in purge as it tried removing group. It should test for existence of user/group before trying to remove. Apparently 'deluser --system --quiet --backup-to /var/lib glance' also removes the group, so subsequent 'delgroup' exits non-zero and script fails (set -e)