Re: locate warning . . . ?
Subject: locate warning . . . ?
Date: Mon, Mar 27, 2000 at 03:10:35PM -0600
In reply to:Bryan Walton
Quoting Bryan Walton(walton@berbee.com):
>| Greetings,
>| Today, I have noticed that when I do a locate on something, I get
>| a warning message that locatedb is more than 8 days old. See the example:
>| --cut--
>|
>| work:/home/walton# locate xf86config
>| locate: warning: database `/var/lib/locate/locatedb' is more than 8 days
>| old
>| /usr/share/alien/patches/xf86config-glibc_1.0.0.i386-3.diff.gz
>| /usr/X11R6/bin/xf86config
>| /usr/X11R6/man/man1/xf86config.1x.gz
>|
>| --cut--
>|
>| Any ideas about what this means?
>|
>| Thanks,
>| Bryan Walton
Umm, that the locate database has not been updated in 8 days.
read man updatedb
then try this
updatedb --prunepaths='/tmp /proc /cdrom /mnt /var/spool' > /dev/null 2>&1
HTH
--
Computers are not intelligent. They only think they are.
_______________________________________________________
Reply to: