Bug#852786: apt: inconsitent behaviour with misspelled pkgnames
Package: apt
Version: 1.4~beta4
Severity: minor
Dear Maintainer,
misspelling a pkgname and running apt-get purge for example: apt says
"using CORRECT_PKGNAME" instead, but it is not (purging).
This seems to me as inconsistent output or behaviour
-->prerequirement:
pakage (e.g. openssh-client) is installed
-->detailed steps:
try to purge the pakage and misspell it:
apt purge ssh-server
--> output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'openssh-client' instead of 'ssh-client'
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Yours Lopiuh
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (/etc/apt/preferences.d/apt_pinning_fni.pref present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- (no /etc/apt/sources.list.d/* present) --
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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-3
ii init-system-helpers 1.47
ii libapt-pkg5.0 1.4~beta4
ii libc6 2.24-9
ii libgcc1 1:6.3.0-5
ii libstdc++6 6.3.0-5
Versions of packages apt recommends:
ii gnupg 2.1.18-3
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.8.5-1
pn dpkg-dev <none>
ii powermgmt-base 1.31+nmu1
ii python-apt 1.4.0~beta2
ii synaptic 0.84.1
-- debconf-show failed
Reply to: