<br><br><div class="gmail_quote">2009/10/26 Ray Leventhal <span dir="ltr"><<a href="mailto:ubuntu@swhi.net">ubuntu@swhi.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Robert Kiwanuka wrote:<br>
> This is a little puzzling!<br>
><br>
> $ ls /usr/local/lib/<br>
> python2.6<br>
> $ ls -a /usr/local/lib/<br>
> . .. python2.6<br>
> $ locate blas.a<br>
> /usr/local/lib/blas.a<br>
> /usr/local/lib/libblas.a<br>
> robert@latitude-ubuntu:~$ locate lapack.a<br>
> /usr/local/lib/lapack.a<br>
> /usr/local/lib/liblapack.a<br>
> $ rm /usr/local/lib/*.a<br>
> rm: cannot remove `/usr/local/lib/*.a': No such file or directory<br>
> $ locate blas.a<br>
> /usr/local/lib/blas.a<br>
> /usr/local/lib/libblas.a<br>
><br>
> Is there any way to force locate to update its cache?!<br>
> $locate --help<br>
> doesn't give any options for updating. I have rebooted twice and still<br>
> the problem persists!<br>
><br>
> Thanks,<br>
> Robert<br>
> PS: This is Ubuntu 9.04; 2.6.28-16-generic<br>
><br>
</div></div>I'm not sure your issue will be addressed by this, but issuing<br>
<br>
sudo updatedb && locate <your file or list of files here><br>
<br>
might do the trick<br>
<br>
HTH,<br>
-Ray<br>
<br></blockquote><div>Excellent! that did the trick! Thanks Ray<br>$ locate blas.a<br>$<br>$ locate lapack.a<br>$ <br><br>Robert<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
--<br>
=====================================================================<br>
A: Because it messes up the order in which people normally read text.<br>
Q: Why is top-posting such a bad thing?<br>
A: Top-posting.<br>
Q: What is the most annoying thing in e-mail?<br>
=====================================================================<br>
() ascii ribbon campaign - against html e-mail<br>
/\ <a href="http://www.asciiribbon.org" target="_blank">www.asciiribbon.org</a> - against proprietary attachments<br>
<font color="#888888"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></blockquote></div><br>