Package: apt-show-versions
Version: 0.20
Followup-For: Bug #680663

The original report is correct that this is the same problem as 658773, and
it has the same solution.

Trivial patch attached.

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

Kernel: Linux 3.6-trunk-amd64 (SMP w/8 CPU cores)
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 apt-show-versions depends on:
ii  apt                      0.9.7.6
ii  libapt-pkg-perl          0.1.26+b1
ii  perl [libstorable-perl]  5.14.2-15

apt-show-versions recommends no packages.

apt-show-versions suggests no packages.

-- Configuration Files:
/etc/bash_completion.d/apt-show-versions changed [not included]

-- no debconf information
--- apt-show-versions.bash_completion.orig	2013-01-03 10:40:25.560502275 -0500
+++ apt-show-versions.bash_completion	2013-01-03 10:40:42.568639744 -0500
@@ -27,7 +27,7 @@
             return 0
             ;;
         -p|--package)
-            COMPREPLY=( $(_comp_dpkg_installed_packages $cur) )
+            COMPREPLY=( $(_xfunc dpkg _comp_dpkg_installed_packages $cur) )
             return 0
             ;;
         -stf|--status-file)
@@ -44,7 +44,7 @@
         COMPREPLY=( $(compgen -W "$opts" -- $cur) )
         return 0
     else
-        COMPREPLY=( $(_comp_dpkg_installed_packages $cur) )
+        COMPREPLY=( $(_xfunc dpkg _comp_dpkg_installed_packages $cur) )
         return 0
     fi
 }

Reply via email to