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

Re: Security risks due to packages that are no longer part of Debian?



On Tue, Jul 12, 2005 at 12:17:10PM +0200, Javier Fernández-Sanguino Peña wrote:
> Well, you can list installed packages with either:
> 
> $ dpkg --get-selections | egrep "[[:space:]]install"
> [ will not show the version #s and might show half-installed packages ]
> 
> $ dpkg -l "*" | grep ^ii
> [ shows the information you are asking for ]
> 
> But it would be best if this was implemented using libapt. I have sample

This can be done with aptitude.

I'm using this:

For woody version of aptitude:

  aptitude -F '%p# %v# %V#' search '~U'

For current version:

  aptitude -F '%p# %v# %V# %t#' search '~U'



-- 
Emmanuel Lacour ------------------------------------ Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -     Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com   -    http://www.easter-eggs.com



Reply to: