usertags 599364 + rfc
thanks

> When I use a search expression like:
>
> aptitude search '?narrow(?installed,?archive(unstable))'
>
> I would expect to match only packages that have one version
> that is both installed and in unstable.
> (At least if I understood the documentation correctly)
>
> Instead what I get is the same as:
>
> aptitude search '?and(?installed,?archive(unstable))'

These searches do work as expected for me.  Can you verify the
problem and provide details of the packages matched by each
search which you did not expect?

~$ aptitude --version | head -n1
aptitude 0.6.3 compiled at Aug 12 2011 21:08:09
~$ aptitude search '?and(?installed,?archive(unstable))' | wc -l
1678
~$ aptitude search '?narrow(?installed,?archive(unstable))' | wc -l
129
~$ aptitude search '?narrow(?installed,!?archive(unstable))' | wc -l
1762
~$ aptitude search '?installed' | wc -l
1891
~$ echo '129 + 1762' | bc
1891

Regards



_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to