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

Re: Installed Packages: CORRECTION!



On (24/12/06 15:28), John - wrote:
> To: debian-user@lists.debian.org
> From: John - <JohnRChamplin@columbus.rr.com>
> Subject: Re: Installed Packages
> Date: Sun, 24 Dec 2006 15:28:58 -0500
> X-Spam-Status: No, score=3.3 required=5.0 tests=AWL,BAYES_50,EMPTY_MESSAGE,
> 	FORGED_RCVD_HELO autolearn=no version=3.1.7
> 
> On (24/12/06 12:47), Luis Lima wrote:
> > On Sun, 24 Dec 2006, Baz wrote:
> > > How best to save a listing of all installed packages?
> > $ dpkg -l 
> > will give a list.
> 
CORRECTED VERSION: A critical ">" got left out in my previous note:

Or if you want to be fancy, put this all on one line:

dpkg --get-selections \* | grep -e install -e hold | grep -v deinstall > ~/got-selections-$(date +%Y%m%d)

-- 
JohnRChamplin@columbus.rr.com
====================================================
PGP key 1024D/99421A63 2005-01-05
EE51 79E9 F244 D734 A012 1CEC 7813 9FE9 9942 1A63
gpg --keyserver subkeys.pgp.net --recv-keys 99421A63

Attachment: signature.asc
Description: Digital signature


Reply to: