On Sat, Jun 11, 2011 at 12:10 PM, Rob Owens <row...@ptd.net> wrote: > 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
That was helpful, thank you. Frankly, I've gotten fond of "synaptic" for more sophisticated package handling rather than aptitude, but it has a lot of dependencies and is not scriptable the way your published commands are. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTikH3Hn=cq+jgarsrfa3tk6ybxf...@mail.gmail.com