Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431028 - app-misc/command-not-found - In case a command could not be found this utility searches for packages containing this or a similar command (bash,zsh)
Summary: app-misc/command-not-found - In case a command could not be found this utilit...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/metti/command-not-...
Whiteboard:
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2012-08-12 00:55 UTC by Alexandre
Modified: 2019-10-25 00:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre 2012-08-12 00:55:53 UTC
IMHO this functionality/package may be interesting to add (perhaps by default) in Gentoo environment.

'command-not-found' - In case a command could not be found this utility searches for packages containing this or a similar command (bash,zsh)

Reproducible: Always
Comment 1 Martin Väth 2012-08-12 10:12:51 UTC
Unfortunately, it searches only the ARCH database.

Anyway, for those interest, I added an ebuild to the mv overlay
(available by layman).
Comment 2 Alexandre 2012-08-12 20:34:52 UTC
Sadly I don't know how to code, otherwise I would try to make a port for gentoo.

Thanks for adding in your overlay! ;-)
Comment 3 Martin Väth 2012-08-13 17:53:51 UTC
(In reply to comment #2)
> Sadly I don't know how to code, otherwise I would try to make a port for
> gentoo.

It is not a question of coding: Since Gentoo is source-based (in contrast
to Arch) the database needed for such a tool cannot exist.
There are some attempts for some substitute http://www.portagefilelist.de/
If one really wants to get active in that direction, one should probably
find a solution together with the maintainers of that website (e.g. that
they make their database available for public download or something
similar). I have neither the time nor the strong interest to do so.

BTW: I fixed some minor coding issues of command-not-found in
the ebuild. (E.g. /etc/profile.d/cnf.sh was in non-POSIX syntax,
causing horrible problems if /bin/sh is symlinked to dash).