Can you tell us a bit more about the context in which you need this information? Can we assume that the system only has packages that where installed via apt? – ZoredacheDec 7 '09 at 23:54
This is a collaboratively edited question and answer site for system administrators and desktop support professionals. It's 100% free, no registration required.
Got a question about the site itself? meta is the place to talk about things like what questions are appropriate, what tags we should use, etc.