[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: script to list installed packages

* "Einstein9112@yahoo.com" <Einstein9112@yahoo.com> [2004:01:29:00:27:11-0500] scribed:
> Hi all,
> I know that somewhere there is a command to list all installed packages 
> (I even remember using it way back when...), but I can't seem to find it.
> I've looked at the various apt utility man pages and have not found 
> anything, even for apt-cache.  I'm trying to write a script to run the 
> command daily (with cron), and dump the list to a file. This should be a 
> useful tool to keep track of package installs and removals. Just by 
> running diff on two files, one can tell what got 
> install/removed/upgraded that day.

   dpkg -l | grep ^i


Best Regards,

mds resource
Dare to fix things before they break . . .
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .

Attachment: signature.asc
Description: Digital signature

Reply to: