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: 195
Popularity: 1.25
First Submitted: 2011-09-10 22:42
Last Updated: 2019-04-29 19:21

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7

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

Anonymous comment on 2011-09-10 23:52

I get the same output karol does. Before trying to run abiword I did

. /etc/profile.d/cnf.sh

Should be enough right?

msquared commented on 2011-09-10 23:46

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

karol_007 commented on 2011-09-10 23:42

Is it working for you?

[karol@black ~]$ abiword
gdbm fatal: lseek error
bash: abiword: command not found

Anonymous comment on 2011-09-10 23:39

Well ... I guess, if you run e.g. luakit, but the package isn't installed on your system, this package tells you, that the package community/luakit contains this executable.

msquared commented on 2011-09-10 23:36

I already updated the package ... the first one was just automatically generated ... sorry.

karol_007 commented on 2011-09-10 22:58

That's a great & detailed package description - not.
What does it do?