[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/rc* and locate



On Fri, 25 May 2001, ray p wrote:
> 

Thanks for the replies. 

I don't understand Noah's point - as I said, I ran 'updatedb' after
removing qmail and the only files shown by the 'locate qmail'
command were those which were not under /etc/rc*. I have no
program which runs update nightly.

Today, using Kevin's 'locate -e' does not show the files - as he said
would be the case. I've just run 'updatedb' once more and again 
I'm told the files are still there. Seems illogical and puzzling to me.

John.

> And of course updatedb will rebuild the database which depending
> on your system may be a short time or a *very* long time.  
> On Thu, May 24, 2001 at 02:30:35PM -0700, Kevin Dalley wrote:
> > "locate -e" limits your output to files in the database which still
> > exist.
> > 
> > 
> > "Noah L. Meyerhans" <frodo@morgul.net> writes:
> > 
> > > On Thu, May 24, 2001 at 08:16:26PM +0100, john gennard wrote:
> > > > which locate (after updatedb) shows as being present when in actual
> > > > fact they are not there. I did not remove them by hand, it was only
> > > > when trying to do so that I found this situation.
> > > > 
> > > > Does anyone have any explanation of why this is so?
> > > 
> > > Locate uses a database that is updated nightly on Debian.  If those
> > > files existed last night, but are gone today, then locate will still
> > > show them to you.  Most likely they were deleted automatically when you
> > > uninstalled the package.
> > > 
> > > noah
> > > 



Reply to: