Mac "locate" database corrupt
Hi, folks -
I frequently use the terminal, as well as the "locate" command within the terminal. Unfortunately, this rather standard functionality does not appear to work in 10.8.2 . When I run the locate command, I receive, for example:
> locate afile
locate: locate database header corrupt, bigram char outside 0, 32-127: -1
Based on suggestions in old forums elsewhere, I deleted (moved) the /var/db/locate.database file. I then re-made the database using "sudo /usr/libexec/locate.updatedb". After some time, the database is re-created, but the error persists.
Any thoughts?
Thanks -
Ryan
MacBook Pro with Retina display, OS X Mountain Lion (10.8.2)