switch impossible depends to detailed excuse info

ubuntu/rebased
Ivo De Decker 5 years ago
parent 03856a3876
commit a4f7e7433e

@ -657,7 +657,11 @@ class ExcuseFinder(object):
if arch_ok: if arch_ok:
ok = True ok = True
if not ok: if not ok:
e.addhtml("Impossible %s: %s -> %s" % (deptype, e.name, d)) # TODO this should actually invalidate the excuse
# would that be correct in all cases?
# - arch all on non-nobreakall arch?
# - pkg in testing already uninstallable?
e.addinfo("Impossible %s: %s -> %s" % (deptype, e.name, d))
e.addreason(deptype.get_reason()) e.addreason(deptype.get_reason())
invalidate_excuses(excuses, actionable_items, unconsidered) invalidate_excuses(excuses, actionable_items, unconsidered)

Loading…
Cancel
Save