Comment 2 for bug 427810

Revision history for this message
Marco Rodrigues (gothicx) wrote : Re: APPORT_IGNORE_OBSOLETE_PACKAGES not working

I figured out the problem. How to reproduce:

I've modified apport/ui.py to add coreutils to my crash report as an obsolete package.

$ bash -c 'kill -SEGV $$'
$ /usr/share/apport/apport-gtk -c /var/crash/obsolete_crash.crash
$ vim /var/crash/_bin_bash.1000.crash

Look at the end of file for this:

UnreportableReason:
 You have some obsolete package versions installed. Please upgrade the following packages and check if the problem still occurs:

 coreutils

So, now if you run:
$ APPORT_IGNORE_OBSOLETE_PACKAGES=1 /usr/share/apport/apport-gtk -c /var/crash/_bin_bash.1000.crash

It always shows the 'Problem bash' window. So this variable should be also verified when sending the report and not only when regenerating it.