Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - command-not-found

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: command-not-found 0.6.0-1

Git Clone URL: https://aur-dev.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: 163
Popularity: 2.195314
First Submitted: 2011-09-10 22:42
Last Updated: 2017-01-01 22:51

Latest Comments

1 2 3 4 5 Next › Last »

oberon2007 commented on 2017-01-01 22:52

adopted and updated to v0.6.0

Det commented on 2016-11-02 09:48

Source it in your ~/.bashrc.

https://wiki.archlinux.org/index.php/Command_not_found > https://wiki.archlinux.org/index.php/Bash#Command_not_found

nokian commented on 2016-11-02 09:30

How would you call cnf-lookup automatically when a command is not found?

msquared commented on 2016-05-13 07:55

looks like the version 0.4.5 is broken for gcc6. most likely due to the standard default change in gcc6. the trunk version compiles fine. I will provide a release soon.

hashworks commented on 2016-05-12 09:57

Build fails for me on 2 different devices.

/tmp/command-not-found/src/command-not-found-0.4.5/src/db.cpp:190:24: Fehler: expected primary-expression before »>« token
shared_ptr<Database> d;
/tmp/command-not-found/src/command-not-found-0.4.5/src/db.cpp:190:26: Fehler: »d« wurde in diesem Gültigkeitsbereich nicht definiert
shared_ptr<Database> d;
CMakeFiles/cnf.dir/build.make:62: die Regel für Ziel „CMakeFiles/cnf.dir/db.cpp.o“ scheiterte
make[2]: *** [CMakeFiles/cnf.dir/db.cpp.o] Fehler 1
CMakeFiles/Makefile2:104: die Regel für Ziel „CMakeFiles/cnf.dir/all“ scheiterte
make[1]: *** [CMakeFiles/cnf.dir/all] Fehler 2
Makefile:149: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

justin8 commented on 2016-04-15 23:12

@bobi Not automatically sadly

bobi commented on 2016-04-15 13:16

@justin8: is there any way to automate a cnf rebuild on every boost update?

justin8 commented on 2015-11-10 22:20

@shazde please don't mark as out of date when it isn't. You need to recompile all AUR packages that depend on boost when it gets updated.

msquared commented on 2015-10-11 18:48

this tool is discontinued. the prebuilt catalogs will soon be unavailable and are not updated anymore. if anyone has interest to take over, please contact me.

orbital_sfear commented on 2014-12-10 19:02

cnf-lookup: error while loading shared libraries: libboost_system.so.1.55.0: cannot open shared object file: No such file or directory

It looks like I had to recompile this package after boost updates:
packer -S command-not-found

After that, the error went away.