~$ rpm -qi nbd Name : nbd Version : 3.11 Release : 1.1.el7 Architecture: x86_64 Install Date: Tue 19 Jun 2018 03:42:44 PM CST Group : Unspecified Size : 153137 License : GPL+ Signature : (none) Source RPM : nbd-3.11-1.1.el7.src.rpm Build Date : Tue 22 May 2018 05:39:11 PM CST Build Host : localhost Relocations : (not relocatable) URL : http://nbd.sourceforge.net Summary : Network Block Device user-space tools (TCP version) Description : Tools for the Linux Kernel's network block device, allowing you to use remote block devices over a TCP/IP network.
查询 rpm 包的历史安装、移除信息:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
~$ sudo yum history info nbd Loaded plugins: fastestmirror, priorities Transaction ID : 88 Begin time : Fri Jun 1 02:52:10 2018 Begin rpmdb : 560:a0c9108e28969f97131a1e3dde3d7bdef8e82641 End time : 02:52:11 2018 (1 seconds) End rpmdb : 561:81e82131bef6a22c084eeca81cdbf1e08aa50cc0 User : System <unset> Return-Code : Success Command Line : -y --disablerepo=* --enablerepo=TFG_DEPEND_PACKAGE --exclude=grub2,repair-system --setopt=protected_multilib=false install nbd Transaction performed with: Loading mirror speeds from cached hostfile Updated rpm-4.11.1-16.1.el7.x86_64 ? Updated yum-3.4.3-118.1.el7.noarch ? Updated yum-plugin-fastestmirror-1.1.31-24.el7.noarch @anaconda/rawhide Packages Altered: Install nbd-3.11-1.1.el7.x86_64 @TFG_DEPEND_PACKAGE history info