Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1012041

Bug#961885: apt-show-versions: patch for 'apt-show-versions bash: completion: function `_apt_show_versions' not found'

From Richard Lewis <richard.lewis.debian@googlemail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#961885: apt-show-versions: patch for 'apt-show-versions bash: completion: function `_apt_show_versions' not found'
Date 2020-05-30 22:30 +0200
Message-ID <Acghb-1ML-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: apt-show-versions
Version: 0.22.11
Severity: normal
Tags: patch

Dear Maintainer,

On some systems, when i type

apt-show-versions TAB

I get

'apt-show-versions bash: completion: function _apt_show_versions' not found' 

despite having bash-completion installed. This seems to be because the completion snipped is using the deprecated 'have' instead of '_have'

the attached patch fixes this.

-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-show-versions depends on:
ii  apt                      1.8.2.1
ii  libapt-pkg-perl          0.1.34+b1
ii  perl [libstorable-perl]  5.28.1-6

apt-show-versions recommends no packages.

apt-show-versions suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#961885: apt-show-versions: patch for 'apt-show-versions bash: completion: function `_apt_show_versions' not found' Richard Lewis <richard.lewis.debian@googlemail.com> - 2020-05-30 22:30 +0200

csiph-web