ubuntu-bug should guess where binaries are located

Bug #363759 reported by Luke Faraone
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: apport

When given a binary name, ubuntu-bug should (after checking that it isn't a package name) use the "whereis" command to locate the binary in the PATH, and then proceed to report a bug against the package that the binary belongs to.

ie:
$ ubuntu-bug /bin/echo # should do the same as
$ ubuntu-bug echo

ProblemType: Bug
ApportLog:

Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: apport 1.0-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
Uname: Linux 2.6.28-11-generic x86_64

LAST PACKAGE TESTED:
 apport 1.9.2-0ubuntu2 on karmic

Revision history for this message
Luke Faraone (lfaraone) wrote :
Changed in apport (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Martin Pitt (pitti) wrote :

This works in Jaunty now.

Changed in apport (Ubuntu):
status: New → Fix Released
Revision history for this message
Luke Faraone (lfaraone) wrote :

Reopened per IRC discussion on #ubuntu-devel

Changed in apport (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Micah Gersten (micahg) wrote :

I had this problem when I tried to use ubuntu-bug on nm-applet

Micah Gersten (micahg)
description: updated
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.