LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2006, 11:43 PM   #1
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Rep: Reputation: 15
locate and updatedb commands are not available


Guys,

I was installing Fedora Core 5 linux system in one of my workstation. I got no problem during the installation processes and got in to the system with no problem. However, I started to disappoint when I run those commands (at subject) the system says command not found even on to root. I've tried to install those commands with yum but still no avail.

Any thoughts where I can get and install those commands. I badly need it for updating a database. Thanks in advance.....
 
Old 10-27-2006, 11:50 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It seems to be that the package you want to install is called "mlocate" (which I found out by googling). Try using YUM to get that.
 
Old 10-27-2006, 11:57 PM   #3
alienux
Member
 
Registered: Sep 2006
Location: Dayton, Ohio
Distribution: Slackware 12, Fedora Core, PCLinuxOS
Posts: 194

Rep: Reputation: 30
I believe you may need to install the findutils package, too. I remember during one Linux installation (may have been SuSe, but I don't remember) when I didn't install any of the findutils items and couldn't use locate or updatedb.
 
Old 10-28-2006, 12:00 AM   #4
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Original Poster
Rep: Reputation: 15
Hmmm.... locate and updatedb are UNIX standard commands, I believe also those are available by default in fedora and redhat as well. I have already tried those commands in fedora 3 and fedora 5. Yikes! it does not available on my fedora 5 at this time.
 
Old 10-28-2006, 12:03 AM   #5
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Original Poster
Rep: Reputation: 15
@alienux, may i know what are specific packages in findutils. I tried installing with yum.. This is my syntax correct me if I'm wrong... "yum install findutils"....
 
Old 10-28-2006, 12:07 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Have you at least tried to install mlocate?
 
Old 10-28-2006, 12:15 AM   #7
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Original Poster
Rep: Reputation: 15
@nylex, yup, it seems working... however, when I tried to locate a certain files. It gives me this message "can not open '/var/lib/mlocate/mlocate.db'? How can I fix it? Thanks by the way....
 
Old 10-28-2006, 02:20 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by guy_ripper
@nylex, yup, it seems working... however, when I tried to locate a certain files. It gives me this message "can not open '/var/lib/mlocate/mlocate.db'? How can I fix it? Thanks by the way....
Have you tried doing "updatedb" first and then looking for something. It could be that the database needed by mlocate may not yet have been created.

Quote:
Originally Posted by guy_ripper
Hmmm.... locate and updatedb are UNIX standard commands, I believe also those are available by default in fedora and redhat as well. I have already tried those commands in fedora 3 and fedora 5. Yikes! it does not available on my fedora 5 at this time.
From past experience, not all Linux distros or Unix vendors install locate by default.
 
Old 10-28-2006, 02:39 AM   #9
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Original Poster
Rep: Reputation: 15
problem has been corrected after mlocate was installed. However, I got another problem, mondo will not work.. It says "mondoarchive: command not found". I was able to execute mondo-backup before. My last activity was updating the system with yum update command...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
updatedb / locate doesn't appear to work allelopath Linux - Software 5 08-28-2005 10:55 PM
What is the equivlent of locate and updatedb in suse? abefroman SUSE / openSUSE 2 05-07-2005 06:13 PM
Frontend for Updatedb and Locate? tbeehler Linux - Software 4 02-13-2004 10:07 AM
Updatedb and Locate - commands not found rodviking Linux - Software 3 11-17-2003 12:41 AM
updatedb/locate difficulty UB_KMA Linux - General 4 12-29-2002 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration