View Single Post

   
  #5 (permalink)  
Old 05-11-2008, 09:39 PM
Mumia W.
 
Posts: n/a
Default Re: List requested packages

On 05/10/2008 01:56 PM, Paulo da Silva wrote:
> sk8r-365 escreveu:
>> Feverishly pounding upon a keyboard Paulo da Silva typed:
>>> Hi!
>>>
>>> Is there a way to list the packages installed by explicit request but
>>> *not* automatically? I.e.:
>>>
>>> Suppose I installed packages aaa, bbb, ccc, etc.
>>> Theses packages caused aaa1, aaa2, bbb1, ccc1, etc. also to be
>>> installed as dependencies.
>>>
>>> I want a command (way) to display the packages aaa, bbb, ccc, etc.
>>> but not the aaa1, aaa2, bbb1, ccc1, etc.

>>
>> Is this what you're seeking?
>>
>> man dpkg
>>

>
> No! I have tested all forms of dpkg I know and could not find what I
> need. May be I am missing something however.
>
> For ex. I installed tk8.5. So tcl8.5 was also installed as tk8.5 depends
> on it. "dpkg -l" displays *all* packages installed, including tcl8.5
> which I didn't request to be installed.


Try this:

aptitude search '~i!~M'

This only works if you consistently used aptitude to install packages.
Read the aptitude manual (/usr/share/doc/aptitude) to find out the
search pattern rules.


Reply With Quote