Comment 0 for bug 993810

Revision history for this message
David Henningsson (diwic) wrote :

Running apport-collect on a bug against alsa-driver results in the following stack trace. My guess is that this has something to do with that the source package name is "alsa-driver" but there is no binary package with that name (it's named "alsa-base", among others).
Running apport-collect on a bug against "pulseaudio" succeeds. There is both a source and a binary package named "pulseaudio".

No packages found matching alsa-driver.
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 499, in <lambda>
    GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view))
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 867, in collect_info
    icthread.exc_raise()
  File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run
    self._retval = self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 74, in thread_collect_info
    report.add_package_info(package)
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 225, in add_package_info
    self['SourcePackage'] = packaging.get_source(package)
  File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 116, in get_source
    if self._apt_pkg(package).installed:
  File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 87, in _apt_pkg
    raise ValueError('package does not exist')
ValueError: package does not exist

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apport 2.0.1-0ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CrashReports: 640:1000:114:16647:2012-04-25 17:28:10.236896000 +0200:2012-04-25 17:28:11.236896000 +0200:/var/crash/_usr_bin_rdiff-backup.1000.crash
Date: Thu May 3 10:19:21 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120421)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)