Package: apt Version: 1.4.1 Severity: minor Dear Maintainer,
In the section of the apt Bash completion file that completes command-specific options, "autoclean" is misspelled as "autocleean". This prevents autoclean's command-specific options from being completed. The attached patch fixes this. -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt depends on: ii adduser 3.115 ii debian-archive-keyring 2014.3 ii gpgv 2.1.18-6 ii init-system-helpers 1.48 ii libapt-pkg5.0 1.4.1 ii libc6 2.24-10 ii libgcc1 1:6.3.0-16 ii libstdc++6 6.3.0-16 Versions of packages apt recommends: ii gnupg 2.1.18-6 Versions of packages apt suggests: pn apt-doc <none> ii dpkg-dev 1.18.23 ii powermgmt-base 1.31+nmu1 pn python-apt <none> ii synaptic 0.84.2 -- no debconf information
>From 1c88a0e622462f5a963d8e65c409415c9d769cb1 Mon Sep 17 00:00:00 2001 From: Matt Kraai <kr...@ftbfs.org> Date: Thu, 4 May 2017 11:07:34 -0600 Subject: [PATCH] bash-completion: Fix spelling of autoclean --- completions/bash/apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/bash/apt b/completions/bash/apt index f7dd61f3b..07bebc9a3 100644 --- a/completions/bash/apt +++ b/completions/bash/apt @@ -158,7 +158,7 @@ _apt() ' -- "$cur" ) ) return 0 ;; - clean|autocleean) + clean|autoclean) COMPREPLY=( $( compgen -W ' -s --simulate --dry-run ' -- "$cur" ) ) -- 2.11.0