Marco,

http://bazaar.launchpad.net/~gothicx/apport/ignore_obsolete_packages/revision/1597
is wrong, it would instantly disable _all_ unreportable reasons, not
just the "obsolete packages" one.

The problem here is that apparently Sebastien and you tried to re-
process a .crash file which already went through data collection in the
UI earlier? As soon as it collects data once, then it updates the .crash
file, and UnreportableReason will be written to the .crash file.
Specifying $APPORT_IGNORE_OBSOLETE_PACKAGES later on doesn't help. So
either put APPORT_IGNORE_OBSOLETE_PACKAGES into your general
environment, or don't collect information from the Apport notification
which opens automatically (through update-notifier).

Supporting this properly would mean that ui.py needs to dump all the
package, hooks, and UnreportableReason data fields, and re-collect
information again. It should probably be sufficient to just  del
report['Stackrace'], that's the field that collect_info() uses to
determine whether or not it needs to collect information.

-- 
APPORT_IGNORE_OBSOLETE_PACKAGES not working
https://bugs.launchpad.net/bugs/427810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to