updatedb doesn't update

NoOp glgxg at sbcglobal.net
Mon Oct 18 19:20:10 UTC 2010

On 10/18/2010 11:50 AM, Peng Yu wrote:
> I reinstalled mlocate. Now I have /etc/updatedb.conf. Are there
> anything I need to do to let updatedb run regularly?
> $ cat /etc/updatedb.conf
> PRUNEPATHS="/tmp /var/spool /media"
> PRUNEFS="NFS nfs nfs4 afs binfmt_misc proc smbfs autofs iso9660 ncpfs
> coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs
> udf rpc_pipefs"

No. It should be updated daily and on reboot.

Also note; if you install a package via dpkg and need to see the results
immediately via 'locate', you'll need to manually run 'sudo updatedb'
beforehand. Otherwise you'll need to wait until updatedb is run via cron.

More information about the ubuntu-users mailing list