i think you can try
# slocate -uv
man locate tells you that that will create a new database from /
as well as other options available.
or you may want to check out the options in /etc/updatedb.conf
and use
#slocate -cv
if all else fails, try deleting your current db file,
probably at
/var/lib/slocate/slocate.db
and re-creating your db.
hope it helps.
On Tue, 8 Oct 2002 04:11:33 -0400
Dennis Sue [EMAIL PROTECTED] wrote:
Whenever I use locate to search for files, It doesn't matter what
file, I get
the following message at the end of it's search :
fatal error : locate : decode_db : 'pathlen == -5 ' ! Corrupt Database
!
For some programs, Like netscape, It will list all the files before
ending with this message.
For other programs, Like Gaim for example, It lists the users home
directory, then kicks up this error. It does not list all of the
program's associated files / directories .
So I realize that apparantly the Database has somehow become
corrupted, But how do I repair it , and solve this problem?
I am running Mandrake 8.2.
TIA.
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com