On Tue, Jan 05, 2010 at 02:09:36AM -1000, Ryo Furue wrote:
> Hi Craig,
> 
> Thank you very much for your prompt response.
> 
> | works for me:
> [. . .]
> | did you just install gstreamer0.10-plugins-base? if so, then
> | dlocate's listing of installed files won't be updated until
> | dlocate's daily cron job runs (you can run it yourself as root -
> | /etc/cron.daily/dlocate)
> 
> Ugh.  You are absolutely right!  I'm sorry for bothering you.
> 
> But, since I've been already bothering you, :-)
> I'm wondering if this issue could be regarded as
> a "wishlist" item.  I have a few suggestions.
> 
> 1. Document the necessity of cron in "man dlocate".

good idea, but i thought it was mentioned somewhere in the docs....hmmm.
it is, sort of:

see the update-dlocatedb man page.  the cron job just runs update-dlocatedb
and a few other things.

if you didn't know that the man page exists, that's one of the things
dlocate is for:

c...@ganesh:~$ dlocate -lsman dlocate
/usr/share/man/man1/dlocate.1.gz
/usr/share/man/man8/update-dlocatedb.8.gz
/usr/share/man/man8/dpkg-hold.8.gz
/usr/share/man/man8/dpkg-unhold.8.gz
/usr/share/man/man8/dpkg-remove.8.gz
/usr/share/man/man8/dpkg-purge.8.gz

update-dlocatedb is also referenced in dlocate's man page.

i think i'll write something extra for the man dlocate page about
dlocate's data not being updated until the cron job runs, though.

i'll leave this bug report open until i've done that.



> 2. The package installer of each Debian package update
>    the dlocate database.  (May not be feasible.)

no idea if it's possible or not, but it's not a feature i want.

i find it very useful for dlocate to NOT update it's listings
immediately, that allows me to compare the difference between,
say, 'dpkg -l' and 'dlocate -l' to quickly see the version
differences between the previous package and the current package.

> 3. The dlocate command update its database if the latter
>    is older than the most recent package install.
>    (May not be feasible.)
> 
> 4. Run a little daemon that monitors dpkg/apt/aptitude
>    databases and if it finds any changes, it update the dlocate
>    database.  (May be overkill.  May not be feasible.)

same answer as for 2.

craig

-- 
craig sanders <c...@taz.net.au>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to