インストールする前に.rpmのリリース日を見つける方法

インストールする前に.rpmのリリース日を見つける方法

RPMをダウンロードまたはインストールせずにコマンドラインからRPMのリリース日を確認する方法はありますか?

次のコマンドを使用して詳細を取得できますが、特定のRPMのリリース日を見つけることができません。

[root@connect ~]# yum info kernel-2.6.32-642.6.2.el6.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: ftp.jaist.ac.jp
 * extras: centos.excellmedia.net
 * updates: centos.excellmedia.net
Available Packages
Name        : kernel
Arch        : x86_64
Version     : 2.6.32
Release     : 642.6.2.el6
Size        : 32 M
Repo        : updates
Summary     : The Linux kernel
URL         : http://www.kernel.org/
License     : GPLv2
Description : The kernel package contains the Linux kernel (vmlinuz), the core of any
            : Linux operating system.  The kernel handles the basic functions
            : of the operating system: memory allocation, process allocation, device
            : input and output, etc.

ベストアンサー1

curl -I http://vault.centos.org/6.8/updates/Source/SPackages/kernel-2.6.32-642.6.2.el6.src.rpm 2>&1 | grep Last-Modified

返品:

Last-Modified: Wed, 26 Oct 2016 07:31:10 GMT

ダウンロードやインストールなしで確認したいRPMのアドレスを使って答えを受けてください。

おすすめ記事