Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345881 - sys-apps/mlocate-0.23.1 please add info to updatedb after emerge
Summary: sys-apps/mlocate-0.23.1 please add info to updatedb after emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 13:38 UTC by Felix Schuster
Modified: 2010-11-21 14:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Schuster 2010-11-17 13:38:55 UTC
Because of masking slocate I have unmerged slocate und emerged mlocate (as suggested). When I was trying to run "locate" it fails with:

locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory

Searching the web I found out to run "updatedb" first.
Now it works. Perhaps the ebuild should do that instead of me (or any other user).

Reproducible: Always

Steps to Reproduce:
1.emerge mlocate
2.execute locate <pattern>
3.error
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-11-18 08:08:24 UTC
The ebuild installs a cronjob which is running on a daily basis. Adding a run to the ebuild would make the emerge and specially the reemerge last very long. Nevertheless a short info to the user might be nice, so assigning to maintainer for that.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2010-11-21 14:57:08 UTC
Note added, thanks for the notice.