Re: Debian Questions on apt-get
On Sat, Jun 11, 2011 at 07:43:43AM +0100, Lisi wrote:
> 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.
>
Yes, but Nico is looking for "all available packages", which I took to
mean "available for me to install". That's why I excluded the
already-installed ones. But now that you've caused me to take a second
look, I wonder if he wants a list of all packages, installed or not.
-Rob
Reply to: