Immediately after installing findutils, I get errors of the form: kasumi% locate foo locate: /var/lib/locate/locatedb: No such file or directory This prevents one from using locate on a new system. On a new installation of findutils, the database should be built automatically. (It might be nice if the process to do so waited in the background a while--say until dpkg or apt exits--to give time for other packages to be installed and the filesystem to settle down.) Galen
Thanks for reporting this bug. Does locate work after the nightly updatedb runs? Did you install findutils on a machine which didn't have findutils installed, or is this a fresh installation? Assuming that updatedb runs after the nightly cron job, I will change this to a wishlist item. Galen Hancock <galen@CSUA.Berkeley.EDU> writes:
This was a fresh installation. (I assume the same result would have occured if the system didn't have findutils already installed.) Apparantly updatedb hasn't run yet, as I forgot to install anacron and the system was off last night, but I'm sure it will work once updatedb runs. Changing this to a wishlist item sounds appropriate. Galen