I've been reading the man pages for aptitude but I can't seem to figure out how to use it to distinguish between packages of different branches. Basically here are the scenario: 1. List all packages installed that are from experimental. 2. List all packages installed that are "non-free" or from "contrib". I am sure this is possible. I remember someone writing a script for this but I can't seem to find it now. Thanks for any help. Amit