Package: apt-file
Version: 2.5.1
Severity: important

This bug needs to be fixed in wheezy, apt-file spews paths to the
Contents files amongst the results (it happens for both show/search):

pabs@chianamo ~ $ apt-file search apt-file
aide-common: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/aide/config/aide/aide.conf.d/31_aide_apt-file
aide-common: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/aide/config/aide/aide.conf.d/31_aide_apt-file
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:etc/apt/apt-file.conf
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:etc/bash_completion.d/apt-file
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/bin/apt-file
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/bin/diffindex-download
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/bin/diffindex-rred
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/bin/rapt-file
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/apt-file/apt-file-update.update-notifier
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/apt-file/do-apt-file-update
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/apt-file/is-cache-empty
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/doc/apt-file/README
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/doc/apt-file/changelog.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/doc/apt-file/copyright
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/man/man1/apt-file.1.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/man/man1/diffindex-download.1.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/man/man1/diffindex-rred.1.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/man/man1/rapt-file.1.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:etc/apt/apt-file.conf
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:etc/bash_completion.d/apt-file
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/bin/apt-file
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/bin/diffindex-download
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/bin/diffindex-rred
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/bin/rapt-file
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/apt-file/apt-file-update.update-notifier
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/apt-file/do-apt-file-update
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/apt-file/is-cache-empty
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/doc/apt-file/README
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/doc/apt-file/changelog.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/doc/apt-file/copyright
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/man/man1/apt-file.1.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/man/man1/diffindex-download.1.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/man/man1/diffindex-rred.1.gz
apt-file: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/man/man1/rapt-file.1.gz
fish: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/fish/completions/apt-file.fish
fish: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/fish/completions/apt-file.fish
live-build: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/live/build/hooks/001-update-apt-file-cache.chroot
live-build: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/live/build/hooks/001-update-apt-file-cache.chroot
zsh: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_experimental_main_Contents-amd64.gz:usr/share/zsh/functions/Completion/Debian/_apt-file
zsh: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/zsh/functions/Completion/Debian/_apt-file
zsh: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/zsh/functions/Completion/Debian/_apt-file
zsh-beta: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_testing_main_Contents-amd64.gz:usr/share/zsh-beta/functions/Completion/Debian/_apt-file
zsh-beta: 
//var/cache/apt/apt-file/http.debian.net_debian_dists_unstable_main_Contents-amd64.gz:usr/share/zsh-beta/functions/Completion/Debian/_apt-file

It used to look like this:

pabs@chianamo ~ $ apt-file search apt-file | sed s_//.*:__
aide-common: usr/share/aide/config/aide/aide.conf.d/31_aide_apt-file
aide-common: usr/share/aide/config/aide/aide.conf.d/31_aide_apt-file
apt-file: etc/apt/apt-file.conf
apt-file: etc/bash_completion.d/apt-file
apt-file: usr/bin/apt-file
apt-file: usr/bin/diffindex-download
apt-file: usr/bin/diffindex-rred
apt-file: usr/bin/rapt-file
apt-file: usr/share/apt-file/apt-file-update.update-notifier
apt-file: usr/share/apt-file/do-apt-file-update
apt-file: usr/share/apt-file/is-cache-empty
apt-file: usr/share/doc/apt-file/README
apt-file: usr/share/doc/apt-file/changelog.gz
apt-file: usr/share/doc/apt-file/copyright
apt-file: usr/share/man/man1/apt-file.1.gz
apt-file: usr/share/man/man1/diffindex-download.1.gz
apt-file: usr/share/man/man1/diffindex-rred.1.gz
apt-file: usr/share/man/man1/rapt-file.1.gz
apt-file: etc/apt/apt-file.conf
apt-file: etc/bash_completion.d/apt-file
apt-file: usr/bin/apt-file
apt-file: usr/bin/diffindex-download
apt-file: usr/bin/diffindex-rred
apt-file: usr/bin/rapt-file
apt-file: usr/share/apt-file/apt-file-update.update-notifier
apt-file: usr/share/apt-file/do-apt-file-update
apt-file: usr/share/apt-file/is-cache-empty
apt-file: usr/share/doc/apt-file/README
apt-file: usr/share/doc/apt-file/changelog.gz
apt-file: usr/share/doc/apt-file/copyright
apt-file: usr/share/man/man1/apt-file.1.gz
apt-file: usr/share/man/man1/diffindex-download.1.gz
apt-file: usr/share/man/man1/diffindex-rred.1.gz
apt-file: usr/share/man/man1/rapt-file.1.gz
fish: usr/share/fish/completions/apt-file.fish
fish: usr/share/fish/completions/apt-file.fish
live-build: usr/share/live/build/hooks/001-update-apt-file-cache.chroot
live-build: usr/share/live/build/hooks/001-update-apt-file-cache.chroot
zsh: usr/share/zsh/functions/Completion/Debian/_apt-file
zsh: usr/share/zsh/functions/Completion/Debian/_apt-file
zsh: usr/share/zsh/functions/Completion/Debian/_apt-file
zsh-beta: usr/share/zsh-beta/functions/Completion/Debian/_apt-file
zsh-beta: usr/share/zsh-beta/functions/Completion/Debian/_apt-file


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages apt-file depends on:
ii  curl                              7.26.0-1
ii  libapt-pkg-perl                   0.1.26+b1
ii  libconfig-file-perl               1.50-2
ii  liblist-moreutils-perl            0.33-1+b1
ii  libregexp-assemble-perl           0.35-7
ii  perl                              5.14.2-15
ii  perl-modules [libfile-temp-perl]  5.14.2-15

Versions of packages apt-file recommends:
ii  python      2.7.3~rc2-1
ii  python-apt  0.8.4

Versions of packages apt-file suggests:
ii  openssh-client  1:6.0p1-3
ii  sudo            1.8.5p2-1

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to