[ale] debain package listing by origin

Don Lachlan ale-at-ale.org at unpopularminds.org
Fri Mar 5 17:10:22 EST 2010


On Sun, Feb 28, 2010 at 6:46 PM, Jim Popovitch <jimpop at gmail.com> wrote:
> This does work however:
>  dpkg --list | grep ~bpo

I think you want,

$ aptitude search '?installed ?origin(backports)'

While you're at it,

$ aptitude install aptitude-doc-en

and read /usr/share/doc/aptitude/html/en/ch02s03.html

The syntax seems wonky at first but it's incredibly powerful. Mostly, it's,

$ aptitude search '?filter ?otherfilter(regex) ?nextfilter'

-Don


> On Sun, Feb 28, 2010 at 18:39, Jim Popovitch <jimpop at gmail.com> wrote:
>> On Sun, Feb 28, 2010 at 18:37, Jim Popovitch <jimpop at gmail.com> wrote:
>>> I'm trying to find all pkgs installed from backports.  I tried:
>>>
>>>     aptitude search ~Obackports
>>
>> Ahh, I should have tried
>>
>>  aptitude search ~Obackports?~i
>
> Actually that produces incorrect data.  Hmmm.
>



More information about the Ale mailing list