Re: apt-cache and search

2001-02-14 Thread Rajesh Fowkar
Colin Watson saw fit to inform me that: 
>Rajesh Fowkar <[EMAIL PROTECTED]> wrote:
>>If I do apt-cache search  I get listing of packages available in 
>>apt cache. Suppose I want a filename search not package how this can be done.
>>I want to find if the file I need is present in any of the packages in
>>apt-cache.
>
>You can either download the Contents-i386.gz (or whatever) file from the
>Debian archive and run zgrep on that, or else use the web interface at
>http://packages.debian.org/>.

Thanks to all of you who replied to my post. I will try out your suggestions.

Regards

-- 
Rajesh Fowkar
/**\
* WebSite:http://rajesh.computers.webjump.com Email : [EMAIL PROTECTED]
* Address:KURTARKAR NAGARI,BLDG-C,T4,3RD FLOOR,SHANTINAGAR,PONDA-GOA.(INDIA)
*
* "The expert at anything was once a beginner."  -Hayes 
/**\



Re: apt-cache and search

2001-02-13 Thread will trillich
On Tue, Feb 13, 2001 at 09:15:51PM +, Rajesh Fowkar wrote:
> Hi,
> 
> If I do apt-cache search  I get listing of packages available in 
> apt cache. Suppose I want a filename search not package how this can be done.
> I want to find if the file I need is present in any of the packages in 
> apt-cache.
> 
> How this can be done ?

dpkg -S partial/path/nam

of course, this only works for installed packages.

also try

http://packages.debian.org/SomeTermHere

-- 
It is always hazardous to ask "Why?" in science, but it is often
interesting to do so just the same.
-- Isaac Asimov, 'The Genetic Code'

[EMAIL PROTECTED]***http://www.dontUthink.com/

http://groups.yahoo.com/group/newbieDoc -- next week's
newbie needs your brain: document your experience today!



Re: apt-cache and search

2001-02-13 Thread Colin Watson
Rajesh Fowkar <[EMAIL PROTECTED]> wrote:
>If I do apt-cache search  I get listing of packages available in 
>apt cache. Suppose I want a filename search not package how this can be done.
>I want to find if the file I need is present in any of the packages in
>apt-cache.

You can either download the Contents-i386.gz (or whatever) file from the
Debian archive and run zgrep on that, or else use the web interface at
http://packages.debian.org/>.

Cheers,

-- 
Colin Watson [EMAIL PROTECTED]



Re: apt-cache and search

2001-02-13 Thread Rajesh Fowkar
Leonard Leblanc saw fit to inform me that: 
>My apt cache is stored in /var/cache/apt/archives so you could simply do the
>following:
>
>%> ls /var/cache/apt/archives | grep searchstring
>

Thanks Leonard for your prompt response.

My /var/cache/apt/archives is blank :-)

-
debian:/var/cache# apt-cache search fortune
fortunes-min - Datafiles containing fortune cookies
fortunes-off - Datafiles containing offensive fortune cookies
fortune-mod - Fortune cookies provided upon demand.
fortunes - Datafiles containing fortune cookies
fortunes-cs - Czech and Slovak data files for fortune.
fortunes-it - Italian fortune cookies
debian:/var/cache#
-

Is there any way I can find out without doing dpkg -L  | grep 
fortune
directly using apt-cache ?

Regards



-- 
Rajesh Fowkar
/**\
* WebSite:http://rajesh.computers.webjump.com Email : [EMAIL PROTECTED]
* Address:KURTARKAR NAGARI,BLDG-C,T4,3RD FLOOR,SHANTINAGAR,PONDA-GOA.(INDIA)
*
* "The expert at anything was once a beginner."  -Hayes 
/**\



Re: apt-cache and search

2001-02-13 Thread Leonard Leblanc
My apt cache is stored in /var/cache/apt/archives so you could simply do the
following:

%> ls /var/cache/apt/archives | grep searchstring

Leonard Leblanc,
Webmaster / Intranet Administrator
Emerge Knowledge Design
www.emergeknowledge.com

- Original Message -
From: "Rajesh Fowkar" <[EMAIL PROTECTED]>
To: "Debian User Mailing List" 
Sent: Tuesday, February 13, 2001 1:15 PM
Subject: apt-cache and search


> Hi,
>
> If I do apt-cache search  I get listing of packages available in
> apt cache. Suppose I want a filename search not package how this can be
done.
> I want to find if the file I need is present in any of the packages in
apt-cache.
>
> How this can be done ?
>
> Thanks in advance.
>
> Regards
>
>
> --
> Rajesh Fowkar
>
/***
***\
> * WebSite:http://rajesh.computers.webjump.com Email :
[EMAIL PROTECTED]
> * Address:KURTARKAR NAGARI,BLDG-C,T4,3RD
FLOOR,SHANTINAGAR,PONDA-GOA.(INDIA)
> *
> * "The expert at anything was once a beginner."  -Hayes
>
/***
***\
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



apt-cache and search

2001-02-13 Thread Rajesh Fowkar
Hi,

If I do apt-cache search  I get listing of packages available in 
apt cache. Suppose I want a filename search not package how this can be done.
I want to find if the file I need is present in any of the packages in 
apt-cache.

How this can be done ?

Thanks in advance.

Regards


-- 
Rajesh Fowkar
/**\
* WebSite:http://rajesh.computers.webjump.com Email : [EMAIL PROTECTED]
* Address:KURTARKAR NAGARI,BLDG-C,T4,3RD FLOOR,SHANTINAGAR,PONDA-GOA.(INDIA)
*
* "The expert at anything was once a beginner."  -Hayes 
/**\