Updatedb indexes the files on the filesystem and is automatically run at certain intervals to refresh the database. The locate command depends on updatedb for its fast search functionality.

learn more… | top users | synonyms

0
votes
0answers
49 views

Asking to install package when it is already installed - Ubuntu 12.04

I am asked to install a package libldns-dev in order to install some software (FreeSwitch). Although it is installed already and I have already run the command updatedb but still it is asking me to ...
1
vote
1answer
70 views

How do I tell locate to keep the index of an external HDD?

I changed my configuration so locate is also searching through external harddisks that are mounted in /media. My /etc/updatedb.conf: PRUNE_BIND_MOUNTS="yes" # PRUNENAMES=".git .bzr .hg .svn" ...
0
votes
0answers
54 views

GUI DBMS for databases generated by updatedb cmd shell

i have an external HDD . I have used updatedb cmd to persist path of all files in HDD. updatedb -l 0 -o ~/.abdennourHDD.db -U /media/abdennourHDD/ i want to query this database. So i run this ...
0
votes
1answer
47 views

Is there any procedure for update Live server [closed]

Can someone send me a document with standard procedure for updating LIVE Server. Is there such thing? We make the updates to our system once per week, but we are not sure if there is some ...
0
votes
1answer
532 views

Why anacron does not call the crontab user files?

I want a special command to be lauched everyday, but dont want to put it in the /etc/cron.d/ because its a user specific user! pg@pipoTower: ~$ crontab -l # m h dom mon dow command 0 0 * * * ...
21
votes
1answer
11k views

Can I disable updatedb.mlocate?

On ubuntu server here and I'm trying to unpack 300M image files from a compressed file format using Java. My unpack rate is 0.5Mbytes/sec, abysmal (34 days to unpack 1.5TB at this rate). I'm trying ...
2
votes
1answer
450 views

Browse through file databases created by updatedb (locate)?

Having indexed external drives using updatedb -l 0 -o db_file -U source_directory I wonder whether there is already a (GUI) browser like Nautilus to navigate offline through the indexed files. Note: ...
3
votes
1answer
2k views

How do I run Updatedb everyday?

How do I edit update.conf at /etc/update.conf to run everyday? This would enable me to use locate with a very recent database. I read this: default settig,updatedb,it has been in /etc/cron.daily ...
1
vote
1answer
470 views

Managing cron.*

I see that Ubuntu uses /etc/cron.{daily,weekly,monthly} for cron jobs. I also see that some things, like updatedb from mlocate, put their jobs there: $ dpkg -L mlocate|grep y/m ...
5
votes
2answers
4k views

updatedb & locate command problem - Files from external hard drive are no longer indexed after rebooting

Files from my external hard drive are no longer indexed after rebooting. I have to remount and then run # updatedb after each reboot. The problem is updatedb takes a few minutes for my external ...
1
vote
1answer
1k views

locate, updatedb & cron

On a new EC2 Lucid AMI, I've tried: $ locate include_prompt.sh And got: locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory I've created the locate database using ...