locate error and solution


Error,

$ locate test
locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory

Solution,

$ updatedb

Reason being, the database is missing, so we run updatedb to populate it.

Leave a Reply

You may leave the Name and Email fields blank to post anonymously.