aptitude: list all previous recommended packages

Posted by casper on Server Fault See other posts from Server Fault or by casper
Published on 2011-12-12T11:47:14Z Indexed on 2013/11/03 15:57 UTC
Read the original article Hit count: 338

Filed under:
|
|

sometimes when installing a package, aptitude recommends several other packages.

Is there a way to show all previous recommended packages of all installed packages?

Thanks in advance.

Casper

Edit:

Thanks for the replys so far. I already tried:

aptitude show ~i | grep '^Recommends' | cut -d ' ' -f 2-

Thats mostly ok. But it gives also things back like:

 console-setup | console-data (>= 2002.12.04dbs-1)

I want an easy way, to install all missing recommended packages.

So

 aptitude install console-setup | console-data (>= 2002.12.04dbs-1)

won't work ;-)

Is there a way, without manual checking all entries, to do this?

© Server Fault or respective owner

Related posts about debian

Related posts about aptitude