[Dctrl-tools-devel] Bug#702150: dctrl-tools: -X should match on "NAME (VERSION)" too

Teodor mteodor at gmail.com
Sun Mar 3 08:59:29 UTC 2013

Package: dctrl-tools
Version: 2.22.2
Severity: important


First, this cannot be always reproduced just because »apt-cache dumpavail«
doesn't give the same content on successive executions.

I'm using this command to add package pins, for example for python2.7:

    apt-cache dumpavail | grep-dctrl -S $SPKG -sPackage -X

By using '-X' some times not all packages are selected:

    Package: python2.7
    Source: python2.7 (2.7.3-7)

The above output was obtained by executing:

    apt-cache dumpavail | grep -B1 -E "(Package|Source): python2.7"

I thing that »grep-dctrl -X« should match on "NAME (VERSION)" too.


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ro_RO.utf8, LC_CTYPE=ro_RO.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dctrl-tools depends on:
ii  libc6  2.13-38

dctrl-tools recommends no packages.

Versions of packages dctrl-tools suggests:
ii  apt
ii  debtags  1.10.2

-- no debconf information

More information about the Dctrl-tools-devel mailing list