[Reportbug-maint] Bug#699583: reportbug: Should automatically find the package name for a given executable

Sandro Tosi morph at debian.org
Sat Feb 2 16:19:48 UTC 2013


Hello David,

On Sat, Feb 2, 2013 at 6:12 AM, David M Smith <sidicas2 at gmail.com> wrote:
> if reportbug can't find a package by the name specified, it should check for
> packages that contain the executable / file specified..
>
> Example: The user wants to file a bug against a program they know is called
> "kscreenlocker".  However the user doesn't have any packages installed that
> correspond to that name.   If reportbug queries packages.debian.net then it
> could find a list of packages that contain the "kscreenlocker" executable and
> filter it by packages that the user has installed.  Then present the user with
> a list of suggested packages.

Isn't the '-f' cli option what you're looking for?

$ reportbug -O mkdir
...
Getting status for mkdir...
No matching source or binary packages.

$ reportbug -O -f mkdir
Finding package for 'mkdir'...
Resolved as '/bin/mkdir'.
Multiple packages match:

1 coreutils    /bin/mkdir

2 klibc-utils  /usr/lib/klibc/bin/mkdir

Select one of these packages:


Regards,

--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



More information about the Reportbug-maint mailing list