Questions tagged [updatedb]

The tool to update the search database used by locate for finding files or paths. This tool is typically run daily to keep the index up recent changes in the filesystem.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

i am able to insert the array variable into the postgres table and i could not update column with the same values stored in the array variable [closed]

echo "insert into expected_broadcast (id,client,campaign_id,lot_number,number_of_target_users,target_users,codec_order,campaign_status,last_activity,call_id,codec_file_length,disconnect_reason,...
3
votes
1answer
70 views

updatedb can not create temporary file for a custom database file

I am trying to create a custom mlocate db for my home directory. When running the updatedb it complains about inability to open a temporary file. 55;~/>uname -a Linux yoga 4.12.14-lp151.28.59-...
-7
votes
1answer
32 views

I am having problem will installing development [closed]

I am nod able to install mono development even after i gave apt get update. My system is asking for Mono depends on =6.10.0.104-0-xamarin16+debian10b1 Its also asking Hit https://download.mono-...
0
votes
0answers
31 views

Updatedb include the path pointed by symbolic link

I have created mlocate database with the contents of a particular folder. I see that the updatebd doesn't include the path pointed by the symbolic links in the database. How can I include the path ...
0
votes
1answer
61 views

Updatedb on samba mounted shares

I have a few directories mounted from a samba share server (my lan storage) and I would like to run updatedb on them. I use to successfully run such command to do that: updatedb -l 0 -o ~/.myDbFile....
1
vote
1answer
258 views

How can I change the configuration of /etc/updatedb.conf file?

Based on the man page of the command "updatedb", we can change and override the configuration of /etc/updatedb.conf using the below commands: --prune-bind-mounts FLAG Set ...
0
votes
1answer
385 views

unable to update application permission denied

Hi there i new to linux and I just enable Raid 10 as a result i can only connect through a putty session and not remote desktop, everything was working fine untill i followed this article https://...
1
vote
1answer
51 views

Updatedb findutils searches in a folder named 'alex'. What does it mean?

Everyday at some minutes after midnight the updatedb.findutils run to index some files. It's a program, which comes with Ubuntu. Now I wondered what this program does and found this. root 12500 ...
25
votes
2answers
3k views

Why does the `updatedb` program run so fast?

Usually when I have programs that are doing a full disk scan and going over all files in the system they take a very long time to run. Why does updatedb run so fast in comparison?
0
votes
0answers
89 views

How make updatedb ignore ~ backup files

updatedb has options to exclude names. But how get it to exclude by part of a name - eg. the pattern *~ ?
25
votes
3answers
7k views

What kind of database do `updatedb` and `locate` use?

The locate program of findutils scans one or more databases of filenames and displays any matches. This can be used as a very fast find command if the file was present during the last file name ...
7
votes
1answer
2k views

How to fix “updatedb: can not find group ` mlocate'” on entware?

I have installed the mlocate package on Asus RT-N56U running Padavan with Entware-ng, which is based on OpenWrt. This embedded Linux distribution has SSH enabled. My locate results are out of date. ...
0
votes
4answers
82 views

How can I apply -v after I have already executed a command?

I'd like to watch the progress of a command that I know will take about six hours. I ran an update script and forgot to use -v (or whatever I should have done to "watch" the progress) so I have no way ...
1
vote
1answer
1k views

sudo apt-get update doesn't work on Linux Mint 17.1

I am trying to update my Linux Mint 17.1. But if I give this commands, sudo apt-get update it is giving the following error. E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource ...
11
votes
1answer
2k views

How is updatedb so much faster than find?

How is updatedb so much faster than find? Here's a timed comparison between updatedb and a find command that does a seemingly similar task. compare.sh #!/usr/bin/env bash cmd="sudo updatedb" echo $...
1
vote
1answer
112 views

Make updatedb not change access times

Can I keep updatedb on but prevent it from changing atimes? I want to automatically tar up repos that haven't been accessed (by me, not some daemon) for a certain period of time.
0
votes
1answer
245 views

Script for update

I have a script used for update : OLD="int 10" NEW="int 20" i=0 DPATH="/home" for f in $DPATH do sed -i "s/$OLD/$NEW/g" $f let i++ echo "modified:" $f done what i need according to my old ...
4
votes
1answer
774 views

Updatedb unrecognized option '--localpaths='

I am attempting to update a single directory I created. I'm using updatedb so it will be found by the locate command. Command used: updatedb --localpaths='/frodo/lib/modules/3.12.3-031203-generic/...
8
votes
3answers
10k views

How to add specific directories to “updatedb” (locate) search path?

I keep my digital music and digital photos in directories in a Windows partition, mounted at /media/win_c on my dual-boot box. I'd like to include those directories—but only those directories—in the ...
2
votes
1answer
509 views

updatedb for a beginner

The updatedb command, as I understand it, is basically the utility that keeps the mlocate.db database file updated. And it's a good idea to keep it updated regularly. For that matter, I've kept a ...
2
votes
0answers
1k views

Linux mint update problem

I have a problem while doing updates. If I type sudo apt-get updates I will get the following: Err http://ppa.launchpad.net saucy/main Sources ...
27
votes
5answers
22k views

Can I just disable updatedb?

Is updatedb necessary at all? I never use locate and my servers tend to have dozens of millions of files which usually makes updatedb to run for a long time and consume I/O needed by MySQL and/or ...
8
votes
1answer
5k views

why updatedb command takes too much time?

I have read that to run locate command on CYGWIN first I need to run the following command. updatedb --localpaths=c:/ what this command exactly do as I run this on CYGWIN and it is taking too much ...
1
vote
1answer
317 views

How can I know how long it takes to run updatedb daily job?

I'm using CentOS6.4 and updatedb is running as a daily job. What should I do if I want to know how long it takes for updatedb to run?
3
votes
3answers
2k views

How to monitor directory/file changes to rebuild index?

Just moved to Ubuntu 12.04 from Windows 7. Under Win 7 I use "Everything" to search files and directories, it can build the index database and update it once any file or directory changes. I'm very ...
16
votes
2answers
20k views

updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'

I go to use the updatedb command to update the index and I get updatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db' fyi The locate command is working, e.g. $ locate Index.xml /...