apt info "please use the '-a' switch"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Low
|
Julian Andres Klode |
Bug Description
When getting info about a package, I see a notice asking me to "Please use the '-a' switch", but the apt program does not accept an '-a' switch.
Steps to reproduce:
$ apt info docker.io
...
N: There is 1 additional record. Please use the '-a' switch to see it
$ apt -a info docker.io
$ apt info -a docker.io
$ apt info docker.io -a
Expected outcome:
same output as `apt info docker.io` but with the 1 additional record.
Seen outcome:
E: Command line option 'a' [from -a] is not understood in combination with the other options.
Also seen:
`apt info $pkg` gives the same output as `apt show $pkg` including the Notice message, but where `apt info -a $pkg` fails, `apt show -a $pkg` succeeds.
Workaround:
Use `apt show -a $pkg` instead.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: apt 1.8.1
ProcVersionSign
Uname: Linux 5.0.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Sep 12 14:16:09 2019
InstallationDate: Installed on 2018-10-30 (316 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: apt
UpgradeStatus: Upgraded to disco on 2019-04-18 (147 days ago)
modified.
modified.
mtime.conffile.
mtime.conffile.
tags: | added: id-5d7aa5d50ab4905dcdc54c44 |
Changed in apt (Ubuntu): | |
status: | Triaged → In Progress |
Changed in apt (Ubuntu): | |
status: | In Progress → Fix Committed |
Thanks for your bug report. It seems I did not add all switches from the show command to the info alias when adding it.