如何查找当前软件包版本的发布日期?我没有看到它在包信息中列出:
$ dpkg -p libmagic1
Package: libmagic1
Priority: standard
Section: libs
Installed-Size: 2445
Maintainer: Daniel Baumann <[email protected]>
Architecture: amd64
Multi-Arch: same
Source: file
Version: 5.11-2+deb7u9
Depends: libc6 (>= 2.8), zlib1g (>= 1:1.1.4)
Pre-Depends: multiarch-support
Suggests: file
Size: 204520
Description: File type determination library using "magic" numbers
This library can be used to classify files according to magic number tests. It
implements the core functionality of the file command.
Homepage: http://www.darwinsys.com/file/
答案1
安装的变更日志的顶部将告诉您该软件包的安装版本何时发布:
$ zcat /usr/share/doc/libmagic1/changelog.Debian.gz | head
file (1:5.35-4+deb10u1) buster-security; urgency=high
* Cherry-pick commit to restrict the number of CDF_VECTOR elements.
Closes: #942830 [CVE-2019-18218]
-- Christoph Biedl <[email protected]> Tue, 22 Oct 2019 21:57:17 +0200
file (1:5.35-4) unstable; urgency=medium
* Cherry-pick fix for JSON detection. Closes: 922874
因此,当前的 Debian 10 软件包于 2019 年 10 月 22 日发布;Debian 9 软件包:
file (1:5.30-1+deb9u3) stretch-security; urgency=high
* Cherry-pick commit to restrict the number of CDF_VECTOR elements.
Closes: #942830 [CVE-2019-18218]
-- Christoph Biedl <[email protected]> Tue, 22 Oct 2019 22:20:07 +0200
file (1:5.30-1+deb9u2) stable; urgency=high
* Avoid reading past the end of buffer. Closes: #901351
(我没有方便检查的 Debian 7 系统,但这个命令也可以在那里工作。)