I believe you need to run

#updatedb

If I am not mistaken (updatedb may work for different search command if memory 
is faulty) 

But if I'm not mistaken, updatedb will refresh the database locate uses to find 
results...

TeddyB

-----Original Message-----
From: lina <lina.lastn...@gmail.com>
Date: Thu, 28 Apr 2011 12:55:38 
To: <debian-user@lists.debian.org>
Subject: locate something not exist

Hi,

when I located fglrx

which has been purged,

but it still showed me lots
such as

/var/lib/dpkg/info/fglrx-glx.preinst
/var/lib/dpkg/info/fglrx-modules-dkms.list
/var/lib/dpkg/info/fglrx-modules-dkms.md5sums
/var/lib/dpkg/info/fglrx-modules-dkms.postinst
/var/lib/dpkg/info/fglrx-modules-dkms.prerm
/var/lib/dpkg/info/fglrx-source.list
/var/lib/dpkg/info/fglrx-source.md5sums
/var/lib/update-rc.d/fglrx-atieventsd

when I checked further, found

# more /var/lib/dpkg/info/fglrx-source.md5sums
/var/lib/dpkg/info/fglrx-source.md5sums: No such file or directory
# more /var/lib/dpkg/info/fglrx-driver.preinst
/var/lib/dpkg/info/fglrx-driver.preinst: No such file or directory
# more /etc/modprobe.d/fglrx-driver.conf
/etc/modprobe.d/fglrx-driver.conf: No such file or director

so the "locate" has some problems?


--
Thanks and best regards,

lina


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktinjedycmtcb_i6nwvcr+kcc6mh...@mail.gmail.com

Reply via email to