topic title: updatedb
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#1
anticapitalista,

did apt-get update, apt-get upgrade, then when i went to updatedb,
got
fatal error: load_file: Could not open file: /etc/update.conf: No such file or directory

any ideas?

cheers
oldhoghead
Posts: 58
Urban
Joined: 26 Feb 2008
#2
I realized I had this problem yesterday and in antiX 7.1.

This is my updatedb.conf in fluxbuntu. I HAVE NOT tried this in antiX yet, but now that you posted this I will later today.

Code: Select all

# This file sets environment variables which are used by updatedb

# Global options for invocations of find(1)
FINDOPTIONS='-ignore_readdir_race'
export FINDOPTIONS
# filesystems which are pruned from updatedb database
PRUNEFS="NFS nfs nfs4 afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf"
export PRUNEFS
# paths which are pruned from updatedb database
PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs /media"
export PRUNEPATHS
# netpaths which are added
NETPATHS=""
export NETPATHS
# run find as this user
LOCALUSER="nobody"
export LOCALUSER
# cron.daily/find: run at this priority -- higher number means lower priority
# (this is relative to the default which cron sets, which is usually +5)
NICE=10
export NICE
# cron.daily: I/O priority
# 1 for real time, 2 for best-effort (3 for idle is only allowed for root!)
IONICE_CLASS=2
export IONICE_CLASS
# 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest 
IONICE_PRIORITY=7
export IONICE_PRIORITY
EDIT: fixed typo and put in bold[/b]
Last edited by Urban on 09 Apr 2008, 16:43, edited 1 time in total.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#3
ok, well then it was not a bad install, so I can rule that out!

cheers,
oldhoghead
Posts: 58
Urban
Joined: 26 Feb 2008
#4
Using that configuration file I got from my other machine and saving it to /etc/updatedb.conf worked flawlessly.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#5
I copied mine from my Mepis 7 install, seems to be ok too.

cheers,
oldhoghead
Posts: 58
Urban
Joined: 26 Feb 2008
#6
This still needs to be fixed in the final release of 7.2. I just can't believe I didn't catch this earlier in 7.1
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#7
Fixed for 7.2 preview2.

Also mlocate replaces slocate.

Thanks for finding it.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#8
thanks anti,

looking forward to the final

cheers
oldhoghead __{{emoticon}}__