** Description changed:

+ [Impact]
+ Apport notifies you and asks you to file a bug for every package installation 
failure.  If you try and install a broken package 20 times you can be lead to 
report that bug 20 times.  This is wasteful and clutters bug lists.
+ 
+ [Test Case]
+ 1) modify your /etc/default/grub configuration file so that is incorrect for 
example change the following:
+ 
+ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
+ 
+ and remove the trailing quote.
+ 
+ 2) sudo apt-get install --reninstall memtest86+
+ 3) This should fail and you will receive an apport dialog indicating that 
there was a system problem and that memtest86+ failed to install.
+ 4) Remove any memtest86+ files from /var/crash/
+ 5) sudo apt-get install --reinstall memtest86+
+ 6) With the version of apport from precise-proposed as you proceed through 
the bug filing screens (for the 2nd time) you will be presented with an 
Unreportable Reason message indicating that you have already encountered this 
package installation failure.
+ 
+ [Regression potential]
+ It is possible that other types of apport-package bug reports will be 
blocked.  But as this has been in quantal since July and we are still regularly 
receiving apport-package bugs it doesn't look like that is the case.
+ 
  In bug 991282, and its duplicates, we can see a bug reporter (its the
  same person) running into the same package installation failure at least
  48 times.  The duplicates here are misleading in that you may thing this
  bug is really grave until you discover that all the duplicates are from
  the same reporter.  Additionally, the duplicates don't provide any
  useful information and are wasetful.
  
  We can see that bug 991282 has a DuplicateSignature in it and this is
  how the apport retracer was able to mark duplicates of it.  The
  DuplicateSignature is created in the general ubuntu hook, ubuntu.py, and
  I think when this is being created the rest of the DpkgTerminalLog
  should be scanned for earlier occurences of this error.  In the event
  that we discover the same error we should assume that it has already
  been reported and not report another bug about it.

** Changed in: apport (Ubuntu Precise)
       Status: Triaged => In Progress

** Changed in: apport (Ubuntu Precise)
     Assignee: (unassigned) => Brian Murray (brian-murray)

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

Title:
  ubuntu general hook should check to see if package install failure has
  already happened

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1007637/+subscriptions

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

Reply via email to