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

Re: Debian Questions on apt-get



On Saturday 11 June 2011 00:41:10 Rob Owens wrote:
> On Fri, Jun 10, 2011 at 08:21:41AM -0400, Nico Kadel-Garcia wrote:
> > packages. I'm actually looking for a simple comand line entry for apt
> > to list all the available packages for a system, rather than directly
> > parsing /var/lib/dpkg/available, but this is not it.
>
> Does this do what you want?
>
> aptitude search '!~i'

This gave me a list of packages that I do not have installed.  Surely "!" 
equals "not"?

aptitude search '~i' , on the other hand, gave me a long list of things that I 
have got installed.

Lisi


Reply to: