Control: tags -1 + confirmed

On 27 October 2012 04:10, Samuel Bronson <[email protected]> wrote:
> My understanding is that ?any-version(<pattern>) is supposed to match
> *all* versions of any package which has *any* version matching
> <pattern>, but this is not what I've been getting; for example:

That is the description of “?widen” (match all versions), not
“?any-version” (match packages).  These are similar, the subtle
difference may sometimes impact the results of combining search terms,
though it should not in this case:

>
> naesten@hydrogen:~/hacking% aptitude versions '?exact-name(apt)'
> i A 0.9.7.5                                       testing                   
> 990
> p A 0.9.7.6                                       unstable                  
> 500
> naesten@hydrogen:~/hacking% aptitude versions 
> '?exact-name(apt)?any-version(~Atesting)'
> Package apt:
> i A 0.9.7.5                                       testing                   
> 990
>
> I would expect to get the same results for both queries (there will
> always be a version of "apt" in testing, right?), but I do not.

so I agree that there is a bug here.  Note that “?widen(~Atesting)”
achieves the desired result.

Thanks for the report.

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

Reply via email to