lsb_release crashed with ImportError in <module>()
Bug #383697 reported by
Daniel Hahler
This bug affects 320 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
postfix (Ubuntu) |
Fix Released
|
Medium
|
LaMont Jones | ||
util-linux (Ubuntu) |
Fix Released
|
Medium
|
Canonical Foundations Team |
Bug Description
lsb_release is sometimes invoked during upgrades, when the lsb-release package is unconfigured. Under these circumstances, lsb_release crashes, generating a crash report.
In particular, it is used by the mount package, which is Essential and does not declare a dependency on lsb-release (which is not Essential).
Related branches
lp:~smoser/ubuntu/natty/util-linux/lp-686124
- Ubuntu branches: Pending requested
-
Diff: 62 lines (+32/-1)3 files modifieddebian/changelog (+27/-0)
fdisk/sfdisk.8 (+3/-1)
fdisk/sfdisk.c (+2/-0)
tags: | removed: need-duplicate-check |
description: | updated |
Changed in lsb (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in util-linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in lsb (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
visibility: | private → public |
tags: | added: amd64 |
Changed in lsb (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → Michael Vogt (mvo) |
To post a comment you must log in.
This is currently painful to fix in lsb-release because python-support does not have the necessary feature ("include-links" in python-central; see https:/ /blueprints. launchpad. net/ubuntu/ +spec/foundatio ns-karmic- robust- python- packaging). In the meantime, I recommend that the mount package should do its distribution test at build-time rather than at run-time, constructing the preinst dynamically.