* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [040129 15:24]: > > > Jamin W. Collins wrote: > >On Thu, Jan 29, 2004 at 12:27:11AM -0500, [EMAIL PROTECTED] wrote: > > > >>I know that somewhere there is a command to list all installed packages > > > > > >Perhaps "dpkg --get-selections" would be a good starting point?
I'd recommend that too. > Doh! > I completely forgot about dpkg, I'm so used to apt. > This seems great for the purposes of the script. Running that returns > 480 package names, same as how many synaptic says are installed. I'm > going to write a script up, test and rework it, then post it here for > feedback. Any other ideas are welcome in the meantime. Careful, dpkg --get-selections doesn't always list only installed packages Try: dpkg --get-selections | grep -w install | cut -f1 Cheers, Nick. -- Debian testing/unstable Linux twofish 2.6.1-looxt93c1 i686 GNU/Linux
signature.asc
Description: Digital signature