Handle internal crashes gracefully

Bug #74899 reported by Robert Collins on 2006-12-08
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)

Bug Description

Not sure how to reproduce, apport trace being attached.

We should do per-package hooks soon :). I might do that when I return from leave if its not done already.

EDIT (2009-03-20/liw): If there's a Python exception or other catastrophic error within update-manager, it should catch it and report the error in some nice way, rather than just crashing.

Robert Collins (lifeless) wrote :
Robert Collins (lifeless) wrote :

This is *not* a duplicate. update-manager is failing ungracefully, while this is triggered by the e-d-s problem, that does not make this into the e-d-s problem!

Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → Low
status: Unconfirmed → Confirmed
John Vivirito (gnomefreak) wrote :

This is a duplicate as update-manager should mark the packages as held back and its not. either way with thte new apt it should work fine now.

John Vivirito (gnomefreak) wrote :

robert notice the 2nd to last line in the ccrash report
SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages..
the package resolver is not marking e-s-d as held back please match it up with the crash report on the other link. marking this back as a duplicate or bug #74797

Robert Collins (lifeless) wrote :

sigh, you are still missing the point John!

update-manager should handle the failure in a more graceful manner than just having an unhandled exception.

Unmarking this as a duplicate, because *even though apt has been fixed* there is a separate code change to make here.

John Vivirito (gnomefreak) wrote :

Robert update-manager runs dist-upgrade all it is is a front end to it. dist-upgrade was broken cause the held back packages to not be held back causing update-manager to fail because dist-upgrade is failing. please update apt sudo apt-get upgrade apt than try it the version of apt that fixes this issue is make sure you have that version and please run update-manager again. from the crash report that is the issue. ignore the part about ubuntu-desktop as dist-upgrade cant update anything without the new version of apt. btw evolution was also pushed through you shouldnt have any held back packages. Robert this problem is the same from what the crash report says. i will leave it as a seperate bug so let me know if it fixes it.

John Vivirito (gnomefreak) wrote :

Let me rephrase that update-manager runs sudo apt-get update than runs sudo apt-get dist-upgrade. than it will resolve depends issues at that point but since dist-upgrade wasnt marking the held back packages it was failing to continue to fix depends thats why the crash report reports what it does. now that with new version of apt fixes the marking of heldback packages it should work fine after installing new apt package. update-manager isnt wrote to fix held back packages because apt (dist-upgrade) does that. if we have update-manager do apts job for it its just a recursive fix than you will have update-manager and apt (dist-upgrade) doing the same jobs.

to be removed (liw) on 2009-03-20
description: updated
Changed in update-manager (Ubuntu):
assignee: Michael Vogt (mvo) → nobody
Robert Roth (evfool) wrote :

Thank you for reporting this bug to Ubuntu. Edgy reached EOL in April, 2008.
Please see this document for currently supported Ubuntu releases:

I've tried recreating this bug with Natty and was unable to (crashes are handled by apport in most cases), given the information you've provided. Please either a) upgrade and test or b) increase the verbosity of the steps to recreate it so we can try again.

Please feel free to report any other bugs you may find.
Ubuntu Bug Squad volunteer triager

Changed in update-manager (Ubuntu):
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for update-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in update-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers