-a, --all-versions
Print full records for all available versions. This is the default;
to turn it off, use --no-all-versions. If --no-all-versions is
specified, only the candidate version will be displayed (the one
which would be selected for installation). This option is only
applicable to the show command. Configuration Item:
APT::Cache::AllVersions.
您可以使用
--no-all-versions
将输出限制为仅候选版本(即由apt
or安装/将要安装的版本apt-get
)。来自
man apt-cache
: