← Back to team overview

desktop-packages team mailing list archive

[Bug 559345] [NEW] Give a more explicit message when ubuntu-bug decides a package is "not a genuine Ubuntu package"

 

You have been subscribed to a public bug:

When running ubuntu-bug <PackageName>, if PackageName is from a PPA, Apport refuses to do its job and says:
"The problem cannot be reported.
This is not a genuine Ubuntu package"

This is 100% correct expected behavior, but this message could be improved a bit to tell the user what's going on. I suggest something similar to:
"The problem cannot be reported.
<PackageName> is not a genuine Ubuntu package.
Apport has detected an unsupported version of <PackageName> in the <PPAName> Personal Package Archive activated in your Software sources. Please do the following and try again:
1. use System > Administration > Software Sources to remove the PPA
2. use System > Administration > Synaptic Package Manage to revert to the official Ubuntu version"

>From what I see in the source in apport/ui.py:80, there are two cases:
- Package not installed
- Package coming from a PPA
I'm just digging into Apport source so I was unable to fully implement what I am proposing (e.g. give the PPA name), but I am pushing a very simple patch that at least separates the two cases and tries to give to the user a better explanation of what's going on. Please guide me if my patch needs improvement, or improve it on your own.

** Affects: apport (Ubuntu)
     Importance: Low
         Status: Fix Committed

-- 
Give a more explicit message when ubuntu-bug decides a package is "not a genuine Ubuntu package"
https://bugs.launchpad.net/bugs/559345
You received this bug notification because you are a member of Desktop Packages, which is subscribed to apport in Ubuntu.