If a crash is already fixed by an update, prompt to install it

Registered by Evan

From the specification (https://wiki.ubuntu.com/ErrorTracker):
"If a software update is known to fix the problem, replace the primary alert with the software update alert (or progress window, depending on the update policy), with customized primary text. Or point them at a web page (not a wiki page!) with details if a workaround exists, but no fix is available yet."

Should we show the crashes the user has received that are now fixed by a software update in the description of that update?
Should we provide a flag to automatically install updates that fix problems which left the system in an unusable state?

Blueprint information

Status:
Started
Approver:
Steve Langasek
Priority:
Medium
Drafter:
Evan
Direction:
Approved
Assignee:
Evan
Definition:
Approved
Series goal:
Accepted for raring
Implementation:
Started
Milestone target:
milestone icon ubuntu-13.04
Started by
Kate Stewart

Related branches

Sprints

Whiteboard

I think that if this can be implemented, this can slow the plethora of bugs being filed although they are fixed in a new version.
- [jodh]: how about prompting *before* the user has the bad experience of a crash? (bug 777194)

release notes needed

Release Notes:

(?)

Work Items

Work items:
[ev] Create a mapping between crash signatures and the packages published in -updates that fix them: INPROGRESS
[ev] Teach whoopsie to communicate with update-manager/aptdaemon to update the cache and install the fixed version: TODO
[ev] Make the install a update that fixes the crash mechanism staging aware, so that it follows the same policy that update-manager does with respect to staged updates: TODO
[brian-murray] Investigate decoupling apport from update-notifier (using upstart inotify events) so that we can report crashes without a full desktop stack running: BLOCKED
[ev] Detect circumstances under which a crash dialog would not run or not be possible to respond to (X crashing, WM crashing, grabbed and stuck cursor, etc): TODO
[ev] Teach apport to drop a .upload-no-core and .core-to-be-submitted when a dialog is not possible: TODO
[ev] Notification that a claimed fix does not resolve the issue: TODO

Dependency tree

* Blueprints in grey have been implemented.