Re: locate something not exist

2011-04-28 Thread Huang, Tao
off-topic:

mlocate have some advantages over locate.
it does a partial scan on modified files only, which makes it's
updatedb much faster and disk friendly.

u may already be using it if u have it installed,
since mlocate has a higher score in the update-alternatives system
than the original locate.


Cheers,

Tao
--
http://huangtao.me/
http://www.google.com/profiles/UniIsland

School of Mathematical Science
Peking University


-- 
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/BANLkTi=cj3zb1zq7i11ou0rncm77kd8...@mail.gmail.com



Re: locate something not exist

2011-04-27 Thread Liam O'Toole
On 2011-04-28, teddi...@tmo.blackberry.net  wrote:
>
> 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...
>

If you are unable to run updatedb, use 'locate -e' when searching. Then
only the names of files which still exist will be printed.


-- 
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/slrnirhuou.enl.liam.p.otoole@dipsy.tubbynet



Re: locate something not exist

2011-04-27 Thread teddieeb

Your welcome, glad I was actually able to help somebody ;P

TeddyB


-Original Message-
From: lina 
Date: Thu, 28 Apr 2011 13:09:32 
To: 
Cc: Debian Lists
Subject: Re: locate something not exist

Thanks,

it works,


On Thu, Apr 28, 2011 at 1:06 PM,   wrote:
>
> 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 
> Date: Thu, 28 Apr 2011 12:55:38
> To: 
> 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
>
>



--
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/banlktikxr97ws_pgjstx9atsts9wntn...@mail.gmail.com



Re: locate something not exist

2011-04-27 Thread lina
Thanks,

it works,


On Thu, Apr 28, 2011 at 1:06 PM,   wrote:
>
> 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 
> Date: Thu, 28 Apr 2011 12:55:38
> To: 
> 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
>
>



-- 
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/banlktikxr97ws_pgjstx9atsts9wntn...@mail.gmail.com



Re: locate something not exist

2011-04-27 Thread teddieeb

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 
Date: Thu, 28 Apr 2011 12:55:38 
To: 
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



locate something not exist

2011-04-27 Thread lina
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