Package Details: command-not-found 0.6.2-2

Git Clone URL: https://aur.archlinux.org/command-not-found.git (read-only)
Package Base: command-not-found
Description: In case a command could not be found this utility searches for packages containing this or a similar command (bash,zsh).
Upstream URL: http://github.com/metti/command-not-found
Licenses: GPL
Submitter: msquared
Maintainer: oberon2007
Last Packager: oberon2007
Votes: 194
Popularity: 0.527563
First Submitted: 2011-09-10 22:42
Last Updated: 2019-04-29 19:21

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

dlin commented on 2011-12-07 04:37

Could you change git to https? It let firewall happier

karol_007 commented on 2011-09-11 17:32

Works for me now:
[karol@black ~]$ abiword
The command 'abiword' is been provided by the following packages:
[extra-i686]
abiword (2.8.6-5) [ abiword ]

msquared commented on 2011-09-11 17:28

I switched the backend implementation to tdb. It should work now on i686 and x86_64.

karol_007 commented on 2011-09-11 00:05

I'm using 32-bits.

msquared commented on 2011-09-11 00:05

Hi,

I wrote this just for fun ... and actually it works fine on my box.
I discovered that there is already pkgfile that has this functionality right an hour before finishing this one.
So, no matter ...

If you can help me finding this issue than thanks a lot.

What architectures do you use? I guess its a 32bit problem.

Matthias

msquared commented on 2011-09-11 00:00

Hi,

I wrote this just for fun ... and actually it works fine on my box.
I discovered that there is already pkgfile that has this functionality right an hour before finishing this one.
So, no matter ...

If you can help me finding this issue than thanks a lot.

Matthias

karol_007 commented on 2011-09-10 23:58

@Sara
Yes, it provides the same functionality.

karol_007 commented on 2011-09-10 23:57

[karol@black ~]$ cnf-lookup abiword
gdbm fatal: lseek error

Sara commented on 2011-09-10 23:57

Does this program duplicate the functionality provided by pkgfile (part of the
pkgtools package)?

From the pkgtools install file:

pkgfile includes a "command not found" hook for both zsh and bash. This will
automatically run pkgfile whenever you run a command which the shell cannot
find.

msquared commented on 2011-09-10 23:53

Hi,

the right result should be like this:

metti@beebaer % abiword
The command 'abiword' is been provided by the following packages:
[extra-x86_64]
abiword (2.8.6-5) [ abiword ]
zsh: command not found: abiword

I as well checked in bash ... hmmm

Can you please try the command:
$ cnf-lookup abiword

That directly queries the database.
If this delivers the same error, than somehow the database has not been downloaded correctly.
To download the database again, execute as root
# cnf-sync