Bob -
I think the updatedb is a script that runs the slocate.cron job, which is
what actually compiles the database (or is it the other way around?).
Anyhow. On my system I su to root and run the following command
"/etc/cron.daily/slocate.cron"
However, as you can see slocate.cron is a cron job that is run daily, so
the "locate" command should work regardless of whether you''ve manaully run
slocate.cron. Therefore, if you can't execute "locate" its possible
something isn't install. I did a query of my RPM database (rpm -q slocate)
and it returned the following line: slocate-2.1-4mdk So check to see if
that package is installed.
HTH,
Aaron
At 01:20 PM 5/19/00 -0500, you wrote:
>I am running Mandrake 7.02. Wanting to use updatedb and then locate to
>located several files that I have downloaded and then attempted to run
>rpm(xrpm) and .tar to install them. A process that has provided me with
>no success.
>
>Does MD 7.02 have other commands that replace Locate and Updatedb? I
>have used both the /root and the /user from a console. I have a strange
>feeling that my HD is filling up with several copies of the files I've
>downloaded.
>
>Using GNU's "Howto's" along with the man (MD 7.02) and "Running Linux".
>
>The other thought coming to mind, is that of an incomplete install.
>
>Thanks,
>
>Bob Root
>Soon (probably much later) to be System Administrator:)