Does not find correct package if binary uses the alternatives system

Bug #94732 reported by Michael Vogt
2
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: apport

My emacs crashed today, but apport was not able to pick up the right pacakge because emacs uses the alternatives system:
"""
This problem report does not apply to a packaged program. (/usr/bin/emacs)
"""

Revision history for this message
Martin Pitt (pitti) wrote :

Indeed I just noticed that the latest apport regards symlinked executables as interpreted. Duh...

Changed in apport:
assignee: nobody → pitti
importance: Undecided → Medium
status: Unconfirmed → In Progress
Martin Pitt (pitti)
Changed in apport:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :
Download full text (5.2 KiB)

 apport (0.70) feisty; urgency=low
 .
   [ Martin Pitt ]
   * bin/apport-retrace: Add option --remove-tag to remove a Launchpad bug
     tag. This is intended for an automatic Malone crash retracing system.
   * debian/control: Bump python-launchpad-bugs dependency to ensure that we
     have Bug.[gs]et_metadata().
   * man/apport-retrace.1: Add documentation for --confirm and --remove-tag.
   * bin/apport-chroot: Add option --remove-tag and pass it to apport-retrace.
   * apport/chroot.py, fix_symlinks(): Convert chroot path prefixed absolute
     symlinks to relative symlinks to avoid fakechroot's weird handling of
     absolute symlinks.
   * Add bin/launchpad-crash-digger: Daemon for watching out for
     need-$ARCH-retrace tagged Ubuntu bugs in Launchpad and calling
     apport-retrace on them.
   * bin/apport-retrace: Mangle bug comment with StacktraceTop to not contain
     invalid UTF-8, to avoid getting Internal Server Errors from LP.
   * debian/local/setup-apport-retracer: Install libc6-i686{,-dbgsym} into an
     x86 chroot, to get sane x86 backtraces for crashes in libc.
   * debian/local/setup-apport-retracer:
     - Unpack and install python-launchpad-bugs locally if the package is not
       installed.
     - Link launchpad-crash-digger into the retracer's bin/ dir.
   * run-tests: Run tests with python's -tt flag to catch whitespace errors.
   * Replace tabs with spaces in all Python files. (LP: #93561)
   * Remove trailing white space in all Python files.
   * apport/report.py, add_proc_info(): Do not regard symlinks to executables
     as interpreted scripts any more (such as Debian alternatives). Add test
     case. (LP: #94732)
   * problem_report.py: Add new method get_new() which returns a set of all
     keys which have been added since load() or construction. Add test cases.
   * problem_report.py: Add optional parameter only_new to write(), which
     writes only the get_new() keys. Add test case.
   * apport/ui.py: Remember currently processed report file and update it with
     the added information, so that it becomes useful for local evaluation,
     too. Bump python-problem-report dependency to ensure write()'s only_new
     availability. (LP: #94678)
   * apport-chroot: Add forgotten sys.exit(1) after printing the error message
     about an invalid chroot specification.
   * apport/ui.py, run_crash(): Check for a field "UnsupportableReason: <text>"
     and display an information box that the current configuration cannot be
     supported because of <text>, instead of processing and reporting the
     crash. Add test case for this workflow. With special regards to our
     Firefox crash triagers who want to get rid of the hundreds of
     flash-related crashes. :)
   * apport/report.py, add_hooks_info(): Use execfile() instead of
     __import__(), since package names might conflict with module names already
     imported into apport's namespace. Also search for hook named after the
     source package name (prefixed with 'source_'). Add test cases.
   * bin/apport-chroot: When specifying --save for login, only save the tarball
     if the exit status is 0.
  ...

Read more...

Changed in apport:
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.