Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-09-2003, 01:13 PM   #1
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
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
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
LQ Addict
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
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?


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 > Forums > Linux Forums > Linux - Software

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

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