On Tuesday 16 December 2003 10:06 pm, Jeremy C. Reed said:
~ What version of updatedb?
~
~ Try: "updatedb --version"
~
Here is the version:
root@bmike1:/home/knoppix# updatedb --version
GNU updatedb version 4.1.20
I then looked in the snaptic program list to see if I had the current version;
unfortuately, updatedb was not listed among the files. So the thought came
that perhaps it just isn't listed ; but:
root@bmike1:/home/knoppix# apt-get install updatedb
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package updatedb
root@bmike1:/home/knoppix#
~ > /usr/bin/find: error in /etc/mtab: none: No such file or directory
~
~Do you have an /etc/mtab file?
I looked and here is the mtab
/dev/hda5 / ext3 rw,errors=remount-ro 0 0
/dev/root.old /initrd ext2 rw 0 0
none /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/proc/bus/usb none usbfs rw 0 0
capifs /dev/capi capifs rw,mode=0666 0 0
/dev/hda1 /mnt/hda1 vfat rw 0 0
You know, mtab needs to be updated with sda5 and sda6. From what I've heard it
is an auto-generated file that people are not supposed to edit. So how do I
initiate the update process?
~ Maybe try with:
~
~ updatedb --localuser=nobody
~bmike1@bmike1:~$ updatedb --localuser=nobody
/usr/bin/updatedb: line 142: /var/cache/locate/locatedb.n: Permission denied
Password:
su: Authentication failure
updatedb: new database would be empty
root@bmike1:/home/knoppix# updatedb --localuser=nobody
/usr/bin/find: /lost+found: Permission denied
/usr/bin/find: error in /etc/mtab: none: No such file or directory
~ Or:
~
~ su nobody -c updatedb
bmike1@bmike1:~$ su nobody -c updatedb
Password:
su: Authentication failure
Sorry.
root@bmike1:/home/knoppix# su nobody -c updatedb
/usr/bin/find: /lost+found: Permission denied
/usr/bin/find: error in /etc/mtab: none: No such file or directory
/usr/bin/updatedb: line 142: /var/cache/locate/locatedb.n: Permission denied
updatedb: new database would be empty
--
<:-)~MIKE~(-:>
This message has been scanned for viruses by the VEI Internet
Automatic Email Spam and Virus Scanner, and is believed to be free of spam or viruses.
Please report spam to
spamtrap@vei.net. If you would like 98.9 % spam blocked from your
E-mail then go to VEI Internet for details. Anti-spam/Anti-virus is FREE with every account.
http://www.vei.net/
mailtospamtrap@vei.net