[Aptitude-devel] Bug#691531: aptitude: search query ?any-version(~Atesting) doesn't work as expected

Samuel Bronson naesten at gmail.com
Fri Oct 26 20:10:55 UTC 2012

Package: aptitude
Severity: normal

Dear Maintainer,

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:

naesten at hydrogen:~/hacking% aptitude versions '?exact-name(apt)'
i A                                       testing                   990 
p A                                       unstable                  500 
naesten at hydrogen:~/hacking% aptitude versions '?exact-name(apt)?any-version(~Atesting)'
Package apt:                                                                
i A                                       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.

In fact, as far as I can tell, ?any-version(<pattern>) is doing exactly
the same thing as <pattern>; i.e., it's basically useless.  Presumably,
it hasn't always been like this; I'm assuming it's some kind of bitrot?

-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20121026/fd5ac0f4/attachment.ksh>
-------------- next part --------------

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  aptitude-common 
ii  libapt-pkg4.12  
ii  libboost-iostreams1.49.0  1.49.0-3.1
ii  libc6                     2.13-35
ii  libcwidget3               0.5.16-3.4
ii  libept1.4.12              1.0.9
ii  libgcc1                   1:4.7.1-7
ii  libncursesw5              5.9-10
ii  libsigc++-2.0-0c2a        2.2.10-0.2
ii  libsqlite3-0              3.7.13-1
ii  libstdc++6                4.7.1-7
ii  libtinfo5                 5.9-10
ii  libxapian22               1.2.12-1
ii  zlib1g                    1:1.2.7.dfsg-13

Versions of packages aptitude recommends:
ii  apt-xapian-index                0.45
ii  aptitude-doc-en [aptitude-doc]
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.7

Versions of packages aptitude suggests:
ii  debtags  1.10.1
ii  tasksel  3.13

-- no debconf information

Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

More information about the Aptitude-devel mailing list