LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-09-2003, 01:13 PM   #1
zaman
Member
 
Registered: Jul 2003
Location: new delhi,india
Distribution: slackware 9.0
Posts: 54

Rep: Reputation: 15
locate useless


locate -i j2sdk
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old

this is the mess i get whenever i try to run the command
tell me how to resolve th eproblem
 
Old 07-09-2003, 01:18 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
It's telling you to update your database so do 'updatedb'. You can set that as a cron job so that it will do it every night at 3AM or once a week or something if you want.
 
Old 07-09-2003, 03:29 PM   #3
MrJoshua
Member
 
Registered: Apr 2002
Location: Houston Texas
Distribution: Debian / Gentoo / RHEL
Posts: 209

Rep: Reputation: 31
Before I do a search:
#cd /
#locate -u (this updates the database for the whole filesystem)
#locate %whateveryouneed%
 
Old 07-09-2003, 03:46 PM   #4
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Quote:
Originally posted by MrJoshua
Before I do a search:
#cd /
#locate -u (this updates the database for the whole filesystem)
#locate %whateveryouneed%
Wow, wouldn't that make every search you do pretty long?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Useless divorce3 Fedora 4 07-10-2005 04:40 AM
Lsof Is Useless?? Philip_38 Linux - Software 3 01-30-2005 10:24 AM
probably useless Deno521 Linux - General 7 09-28-2004 08:20 PM
Useless icons? BajaNick General 5 08-22-2003 07:09 PM
Please help me I am useless! linux_newguy Linux - Newbie 7 02-26-2002 09:09 AM


All times are GMT -5. The time now is 01:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration