Re: aptitude package filtering

2010-03-15 Thread Wolodja Wentland
On Sun, Mar 14, 2010 at 17:23 -0400, Yavuz Yetim wrote: > I would like to list all packages installed from testing. How can I do > that? The following works pretty well: dpkg -l | awk '/^.i/ {print $2}' | xargs apt-cache policy | awk '/^[a-z0-9.\-]+:/ {pkg=$1}; /\*\*\*/ {OFS="\t"; ver=$2

Re: aptitude package filtering

2010-03-14 Thread Freeman
On Sun, Mar 14, 2010 at 06:19:36PM -0400, Andrew Reid wrote: > On Sunday 14 March 2010 17:54:25 Freeman wrote: > > On Sun, Mar 14, 2010 at 05:23:11PM -0400, Yavuz Yetim wrote: > > > Hi, > > > > > > I would like to list all packages installed from testing. How can I do > > > that? First limiting to

Re: aptitude package filtering

2010-03-14 Thread Yavuz Yetim
I tested both of apt-show-versions and aptitude limit approach. There are differences. apt-show-versions shows which packages are installed from what archive. The list aptitude shows is, the packages which are installed and they exists in the given archive. apt-show-versions is more like what I wan

Re: aptitude package filtering

2010-03-14 Thread Andrew Reid
On Sunday 14 March 2010 17:54:25 Freeman wrote: > On Sun, Mar 14, 2010 at 05:23:11PM -0400, Yavuz Yetim wrote: > > Hi, > > > > I would like to list all packages installed from testing. How can I do > > that? First limiting to ~installed and then searching ~archive(testing) > > gives me packages tha

Re: aptitude package filtering

2010-03-14 Thread Freeman
On Sun, Mar 14, 2010 at 05:08:32PM -0500, John Hasler wrote: > Ron Johnson writes: > > I'm an apt-get guy, though, and it might not match the aptitude > > database. > > Both apt-get and aptitude are front-ends for apt. There is no seperate > aptitude database. > -- So /var/lib/aptitude/pkgstate

Re: aptitude package filtering

2010-03-14 Thread Ron Johnson
On 2010-03-14 17:08, John Hasler wrote: Ron Johnson writes: I'm an apt-get guy, though, and it might not match the aptitude database. Both apt-get and aptitude are front-ends for apt. There is no seperate aptitude database. There was a time when you were recommended *not* to use them inter

Re: aptitude package filtering

2010-03-14 Thread John Hasler
Ron Johnson writes: > I'm an apt-get guy, though, and it might not match the aptitude > database. Both apt-get and aptitude are front-ends for apt. There is no seperate aptitude database. -- John Hasler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsub

Re: aptitude package filtering

2010-03-14 Thread Johan Grönqvist
Florian Kulzer skrev: On Sun, Mar 14, 2010 at 17:23:11 -0400, Yavuz Yetim wrote: If I understand you correctly then I think the "narrowing" search pattern/operator is what you want: aptitude search '~S ~i ~Atesting' I thought so too, but when I tested, aptitude lists acpi as installed fro

Re: aptitude package filtering

2010-03-14 Thread Freeman
On Sun, Mar 14, 2010 at 05:23:11PM -0400, Yavuz Yetim wrote: > Hi, > > I would like to list all packages installed from testing. How can I do > that? First limiting to ~installed and then searching ~archive(testing) > gives me packages that are installed and available in testing and that's > not w

Re: aptitude package filtering

2010-03-14 Thread Florian Kulzer
On Sun, Mar 14, 2010 at 17:23:11 -0400, Yavuz Yetim wrote: > Hi, > > I would like to list all packages installed from testing. How can I do > that? First limiting to ~installed and then searching ~archive(testing) > gives me packages that are installed and available in testing and that's > not wha

Re: aptitude package filtering

2010-03-14 Thread Johan Grönqvist
Yavuz Yetim skrev: I would like to list all packages installed from testing. How can I do that? First limiting to ~installed and then searching ~archive(testing) gives me packages that are installed and available in testing and that's not what I want. I was going to suggest the command aptit

Re: aptitude package filtering

2010-03-14 Thread Ron Johnson
On 2010-03-14 16:23, Yavuz Yetim wrote: Hi, I would like to list all packages installed from testing. How can I do that? First limiting to ~installed and then searching ~archive(testing) gives me packages that are installed and available in testing and that's not what I want. For example, I have

aptitude package filtering

2010-03-14 Thread Yavuz Yetim
Hi, I would like to list all packages installed from testing. How can I do that? First limiting to ~installed and then searching ~archive(testing) gives me packages that are installed and available in testing and that's not what I want. For example, I have evolution 2.22 from stable. So, ~installe