On 2008-05-27 Tim Connors <[EMAIL PROTECTED]> wrote:
> Package: findutils
> Version: 4.4.0-2
> Severity: normal

> Is there any reason why findutils (which is depended on by mlocate and
> locate) includes updatedb.

Hello,
It does not, afaict:
SID)[EMAIL PROTECTED]:~$ dpkg -s findutils  | grep Version
Version: 4.4.0-2
(SID)[EMAIL PROTECTED]:~$ man grep
(SID)[EMAIL PROTECTED]:~$ dpkg -L findutils | grep update || echo not found
not found

> (which links to mlocate's updatedb via
> /etc/alternatives), and locate includes its version of updatedb (as
> expected, but I'll be turning it off), and mlocate includes its own
> version of updatedb?  This means that mlocate's (or whoever owns the
> updatedb alternatives) updatedb runs twice, if I traced the shell
> scripts correctly.

locate's cron job /etc/cron.daily/locate will only run once, I do not
know how mlocate handles this, but I would be surprised if it ran
twice.

> To me it seems that all of those packages should include their own
> updatedb in cron.daily, but findutils should include no such
> cron.daily job.

If you install both locate and mlocate both cronjobs will run (each
once) and you will have working databases for both locate
implementations.
cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to