LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Updatedb and Locate - commands not found (http://www.linuxquestions.org/questions/linux-software-2/updatedb-and-locate-commands-not-found-116689/)

rodviking 11-16-2003 10:56 AM

Updatedb and Locate - commands not found
 
I installed mdk 9.1 on a new machine and tried to run updatedb and locate commands, but I get "command not found". AFAIK these programs are part of the "findutils" package, which is installed on my machine (I reinstalled just in case, so it's really there)

Any ideas what might have happened?

JordanH 11-16-2003 07:46 PM

Check /usr/bin for locate and updatedb... if they are in that directory, that means your path got mixed up somehow.

try
find /* -path *updatedb
find /* -path *locate

Tinkster 11-16-2003 08:10 PM

Re: Updatedb and Locate - commands not found
 
Quote:

Originally posted by rodviking
I installed mdk 9.1 on a new machine and tried to run updatedb and locate commands, but I get "command not found". AFAIK these programs are part of the "findutils" package, which is installed on my machine (I reinstalled just in case, so it's really there)

Any ideas what might have happened?

In slack locate and updatedb are part
of the sloacte-package, not find. findutils
holds find and xargs :}


Cheers,
Tink

rodviking 11-17-2003 12:41 AM

I installed slocate and now it works :) Thanks all for the help

Rodrigo


All times are GMT -5. The time now is 04:52 AM.