株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

いつこのパッケージのバージョン上がったんだ!とかこれで追えるかも。

#実行結果履歴
[root@localhost ~]# yum history list all
読み込んだプラグイン:fastestmirror
ID     | ログイン ユーザー        | 日時             | 操作           | 変更
-------------------------------------------------------------------------------
     5 | root <root>              | 2017-11-07 15:18 | I, O, U        |  238 EE
     4 | root <root>              | 2017-11-07 15:14 | Update         |    2 EE
     3 | root <root>              | 2017-11-07 15:12 | Install        |    1
     2 | root <root>              | 2017-11-07 12:01 | Install        |    1
     1 | システム <未設定>        | 2017-11-07 09:30 | Install        |  308
history list
[root@localhost ~]#

#「yum history list all」の実行結果のIDを指定し、詳細を表示
[root@localhost ~]# yum history info 2
読み込んだプラグイン:fastestmirror
トランザクション ID : 2
開始時間            : Tue Nov  7 12:01:33 2017
開始 rpmdb          : 308:27475184045b086eb79627366e20160bc11f6fd2
終了時間            :            12:01:41 2017 (8 秒)
終了 rpmdb          : 309:e9568f5e7615f7022c27699830f1bf6a2e3db9d6
ユーザー            : root <root>
終了コード          : 成功
コマンドライン      : -y install net-tools
トランザクションの実行:
    更新      rpm-4.11.3-21.el7.x86_64                      @anaconda
    更新      yum-3.4.3-150.el7.centos.noarch               @anaconda
    更新      yum-plugin-fastestmirror-1.1.31-40.el7.noarch @anaconda
切り替えたパッケージ:
    インストール net-tools-2.0-0.22.20131004git.el7.x86_64 @base
history info
[root@localhost ~]#

#bashを含むrpmのインストール履歴
[root@localhost ~]# yum history list bash*
読み込んだプラグイン:fastestmirror
ID     | ログイン ユーザー        | 日時             | 操作           | 変更
-------------------------------------------------------------------------------
     5 | root <root>              | 2017-11-07 15:18 | I, O, U        |  238 EE
     3 | root <root>              | 2017-11-07 15:12 | Install        |    1
     1 | システム <未設定>        | 2017-11-07 09:30 | Install        |  308
history list
[root@localhost ~]# yum history packages-list bash*
読み込んだプラグイン:fastestmirror
ID     | 操作           | Package
-------------------------------------------------------------------------------
     5 | 更新           | bash-4.2.46-20.el7_2.x86_64                        EE
     5 | 更新           |      4.2.46-29.el7_4.x86_64                        EE
     3 | インストール   | bash-completion-1:2.1-6.el7.noarch
     1 | インストール   | bash-4.2.46-20.el7_2.x86_64
history packages-list
[root@localhost ~]#

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)