hookutils.package_versions silently skips unknown packages

Bug #695188 reported by Matt Zimmerman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
Fix Released
Undecided
Matt Zimmerman
apport (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Because packaging.package_name_glob returns an empty list for unknown packages, hookutils.package_versions will skip those packages entirely. Instead, it should include them with an explicit "N/A" to confirm they are not installed.

Related branches

Matt Zimmerman (mdz)
Changed in apport:
assignee: nobody → Matt Zimmerman (mdz)
Revision history for this message
Matt Zimmerman (mdz) wrote :

revno: 1813
committer: Matt Zimmerman <email address hidden>
branch nick: trunk
timestamp: Tue 2010-12-28 23:11:29 +0000
message:
  Always include all requested package names in hookutils.package_versions(),
  even if they're unknown to us (LP: #695188)

Changed in apport:
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in 1.17.

Changed in apport:
status: Fix Committed → Fix Released
Changed in apport (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.17-0ubuntu1

---------------
apport (1.17-0ubuntu1) natty; urgency=low

  * New upstream release:
    - Better standard bug titles for Python crashes. Thanks Matt Zimmerman!
      (LP: #681574)
    - Add handler for uncaught Java exceptions. There is no integration for
      automatically intercepting all Java crashes yet, see java/README.
      Thanks Matt Zimmerman! (LP: #548877)
    - GTK frontend: Require GTK 3.0.
    - launchpad.py: Default to "production" instance, not "edge", since edge
      is obsolete now.
    - hookutils.py, attach_alsa(): Fix crash if /proc/asound/cards does not
      exist. (LP: #626215)
    - ui.py, format_filesize(): Fix to work with stricter locale.format() in
      Python 2.7. (LP: #688535). While we are at it, also change it to use
      base-10 units.
    - hookutils.py, package_versions(): Always include all requested package
      names even if they're unknown to us. Thanks Matt Zimmerman!
      (LP: #695188)
    - launchpad.py: When updating a bug, also add new tags. Thanks Brian
      Murray!
  * debian/apport.install: Install Java crash handler in
    /usr/share/apport/apport.jar.
  * debian/control: Add Java build dependency so that the Java crash handler
    will be built.
 -- Martin Pitt <email address hidden> Fri, 31 Dec 2010 16:15:06 +0100

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.