是否有 cli 命令可以获取基于 debian 的发行版中旧版本软件包的信息?

是否有 cli 命令可以获取基于 debian 的发行版中旧版本软件包的信息?

dpkg -p bash通过包信息,我的意思是我使用或获得的示例信息apt-cache show bash

Package: bash
Essential: yes
Priority: required
Section: shells
Installed-Size: 1656
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Architecture: amd64
Multi-Arch: foreign
Version: 5.0-6ubuntu1
Replaces: bash-completion (<< 20060301-0), bash-doc (<= 2.05-1)
Depends: base-files (>= 2.1.12), debianutils (>= 2.15)
Pre-Depends: libc6 (>= 2.15), libtinfo6 (>= 6)
Recommends: bash-completion (>= 20060301-0)
Suggests: bash-doc
Conflicts: bash-completion (<< 20060301-0)
Filename: pool/main/b/bash/bash_5.0-6ubuntu1_amd64.deb
Size: 638400
MD5sum: d2655b78815a8ccd61674828408d27cd
Description: GNU Bourne Again SHell
Original-Maintainer: Matthias Klose <[email protected]>
SHA1: b1a0d6a9bae4b70616b93403be1f485742ba8162
SHA256: 3ee861fb5a1ea976e97a9038f785b43252bd4040cdd066ea1afe675ff7625ec8
Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html
Task: minimal
Description-md5: 3522aa7b4374048d6450e348a5bb45d9

这些命令仅提供最新软件包的信息。我想要一个可以指定包的任何版本并获取其信息的命令。

相关内容