[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#782559: apt-get complains about unknown options when it's the command that's wrong



Package: apt
Version: 1.0.9.7
Severity: minor

Dear Maintainer,

apt-get seems to be parsing commandline arguments incorrectly. For example,
to

"apt-get --purge autoremvoe"

it replies:

"E: Command line option --purge is not understood"

When the expected behaviour would be to complain about the command. This is
only a typo, but could be rather confusing to a user who doesn't understand
what he's doing wrong.

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-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  debian-archive-keyring  2014.3
ii  gnupg                   1.4.18-7
ii  libapt-pkg4.12          1.0.9.7
ii  libc6                   2.19-17
ii  libgcc1                 1:4.9.2-10
ii  libstdc++6              4.9.2-10

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.11-1+b1
ii  dpkg-dev    1.17.24
ii  python-apt  0.9.3.11
ii  synaptic    0.81.2

-- no debconf information


Reply to: