[Aptitude-devel] Bug#691874: aptitude: "versions" treats barewords as ?name instead of ?exact-name

Samuel Bronson naesten at gmail.com
Tue Oct 30 16:21:28 UTC 2012


Package: aptitude
Version: 0.6.8.1-2
Severity: normal

Dear Maintainer,

According to the documentation, the "versions" command treats each
argument as either a package name or a search pattern, depending on
whether or not it has any '~' or '?' characters.

This could, for example, be implemented by treating plain arguments as
"?exact-name" patterns.

However, it actually seems to treat them as "?name" patterns, so that
e.g. the wesnoth example produces this output:

,----
| $ aptitude versions --disable-columns wesnoth
| Package wesnoth:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-aoi:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-core:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-data:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-dbg:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-did:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-dm:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-dw:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-ei:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-httt:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-l:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-low:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-music:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-nr:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-server:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-sof:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-sotbe:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-thot:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-tools:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-trow:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-tsg:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-ttb:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.10-utbs:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-1.11:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-aoi:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-core:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-data:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-dbg:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-did:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-dm:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-dw:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-ei:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-httt:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-l:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-low:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-music:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-nr:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-server:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-sof:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-sotbe:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-thot:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-tools:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-trow:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-tsg:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-ttb:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-1.11-utbs:
| p  1:1.11.0-1 unstable 500
| 
| Package wesnoth-core:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
| 
| Package wesnoth-music:
| p  1:1.10.3-2 testing,unstable 990
| p  1:1.10.4-1 experimental 1
`----


-- 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/20121030/4f3a9b79/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           0.6.8.1-2
ii  libapt-pkg4.12            0.9.7.5
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]  0.6.8.1-2
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