ubiquity fails assertion when the live CD has broken packages
Bug #54282 reported by
Alexandre Otto Strube
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Low
|
Colin Watson |
Bug Description
Binary package hint: ubiquity
I accidentaly generated a Live CD with some broken package. The installation then stuck at the end, at /usr/share/
Problem resides in line 925, which is a assert without a try/exception block.
As I tried bypassing it, I discovered that install will then fail later, when trying to upgrade the progress bar. The syslog which describes the error is attached.
Related branches
Changed in ubiquity: | |
assignee: | nobody → kamion |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
If I change the following line (/usr/share/ ubiquity/ install. py - line 925)
from
assert cache._ depcache. BrokenCount == 0
to
try:
assert cache._ depcache. BrokenCount == 0
except AssertionError:
print >>sys.stderr, ("There are broken packages on the system. depcache. BrokenCount is not equal to zero.")
It will then fail later, as the attached syslog tells.