On Wed, Dec 25, 2002 at 09:07:55PM +0000, Tom Badran wrote: > How can i get a list of all the 'suggested' packages for those the packages i > have installed, without the 'suggested' packages i already have.
I have a slow method of doing this that does not take virtual packages such as mail-transfer-agent into account. In this, "foo", "bar", and "baz" are arbitrary file names. The final output is to stdout and is formatted as 1 package per line, in alphabetical order. dpkg --get-selections | grep -w install | sed -e s/[[:space:]].*// >\ foo apt-cache show `cat foo` | grep ^Suggests | sed -e s/^Suggests:\ // \ -e s/\(.*\)//g -e s/[,\|]//g > bar tsort bar | sort > baz grep -vf foo baz -- Seneca [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]