Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-29 Thread Tom H
On Sun, Jun 27, 2010 at 4:23 PM, giovanni_re wrote: > Thanks Aaron & Tom - > That's progress, but not there yet. ;) > Further suggestion? Thanks :) You're welcome. I assumed that you only wanted installed packages because I thought that "dpkg -l" was meant for installed packages... For all pack

Re: Re: mashup "apt-cache search "

2010-06-29 Thread Clive Standbridge
> 3a) I'd like to get an output list including all the packages from > step 1 above, > 3b) Showing the package name, & its installed status (ii, un, etc) > like from step 2. > > Note: One way might be to: > 1) Do the apt-cache search Note that that searches the package descriptions. To search

Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-27 Thread Mickey Fox
2010/6/27 giovanni_re : > Is there a way to mashup "apt-cache search " & "dpkg -l" > - so that given a SearchTerm, > it would find all the related package names in the cache, > then do a "dpkg -l" on those package names? > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > wit

Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-27 Thread giovanni_re
On Sun, 27 Jun 2010 13:27:14 -0700, "giovanni_re" said: > Note: One way might be to: > 1) Do the apt-cache search > 2) For each line > 2a) Pull out the package name > 2b) Write an apt-cache search for that name only to a temp file Er, that should have been a "dpkg -l" command, like this: > 2b)

Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-27 Thread giovanni_re
Thanks Aaron & Tom - That's progress, but not there yet. ;) Further suggestion? Thanks :) On Sat, 26 Jun 2010 19:00:20 -0600, "Aaron Toponce" said: > On 6/26/2010 6:58 PM, Aaron Toponce wrote: > > On 6/26/2010 6:55 PM, Aaron Toponce wrote: > >> On 6/26/2010 5:57 PM, giovanni_re wrote: > >>> I

Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-27 Thread giovanni_re
Thanks Aaron & Tom - That's progress, but not there yet. ;) Further suggestion? Thanks :) On Sun, 27 Jun 2010 04:39:41 -0400, "Tom H" said: > On Sat, Jun 26, 2010 at 7:57 PM, giovanni_re wrote: > > Is there a way to mashup "apt-cache search " & "dpkg -l" > > - so that given a SearchTerm, > >

Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-27 Thread Tom H
On Sat, Jun 26, 2010 at 7:57 PM, giovanni_re wrote: > Is there a way to mashup "apt-cache search " & "dpkg -l" > - so that given a SearchTerm, > it would find all the related package names in the cache, > then do a "dpkg -l" on those package names? No need for dpkg. aptitude -F "%c%a %p %v %d" s

Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-26 Thread Aaron Toponce
On 6/26/2010 6:58 PM, Aaron Toponce wrote: > On 6/26/2010 6:55 PM, Aaron Toponce wrote: >> On 6/26/2010 5:57 PM, giovanni_re wrote: >>> Is there a way to mashup "apt-cache search " & "dpkg -l" >>> - so that given a SearchTerm, >>> it would find all the related package names in the cache, >>> the

Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-26 Thread Aaron Toponce
On 6/26/2010 6:55 PM, Aaron Toponce wrote: > On 6/26/2010 5:57 PM, giovanni_re wrote: >> Is there a way to mashup "apt-cache search " & "dpkg -l" >> - so that given a SearchTerm, >> it would find all the related package names in the cache, >> then do a "dpkg -l" on those package names? > > dpkg

Re: mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor

2010-06-26 Thread Aaron Toponce
On 6/26/2010 5:57 PM, giovanni_re wrote: > Is there a way to mashup "apt-cache search " & "dpkg -l" > - so that given a SearchTerm, > it would find all the related package names in the cache, > then do a "dpkg -l" on those package names? dpkg -l $(apt-search iceweasel|grep ^i|awk '{print $2}'|t