Page 1 of 1

slocate [SOLVED]

Posted: 18. Feb 2015, 14:00
by bobo
How do i update the database?

Code: Select all

bobo[~]$ slocate jwm
slocate: fatal error: Could not find user database '/var/lib/slocate/slocate.db':  No such file or directory

Code: Select all

bobo[~]$ which .jwmrc
which: no .jwmrc in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/sbin:/usr/sbin)
I need to find the .jwmrc global file and copy it to my /home, to start configuring it.

Re: slocate

Posted: 18. Feb 2015, 14:49
by andyprice
In a root terminal run updatedb. It will take a minute or two.

Re: slocate

Posted: 18. Feb 2015, 15:34
by bobo
andyprice wrote:In a root terminal run updatedb. It will take a minute or two.
Perfect!
Thanks, buddy!