【发布时间】:2020-03-20 04:04:57
【问题描述】:
当我执行rpm -qa | grep nano 时,我可以看到 Nano 文本编辑器已安装到我的 CentOS 机器上。
但是当我在下面给定的目录中执行rpm -qpi nano-2.9.8-1.el8.x86_64.rpm 时,它会显示安装日期:(未安装)
目录: cd /run/media/root/CentOS-8-BaseOS-x86_64/BaseOS/Packages/
[root@karancentos ~]# cd /run/media/root/CentOS-8-BaseOS-x86_64/BaseOS/Packages/
[root@karancentos Packages]# rpm -qpi nano-2.9.8-1.el8.x86_64.rpm
Name : nano
Version : 2.9.8
Release : 1.el8
Architecture: x86_64
Install Date: (not installed)
Group : Unspecified
Size : 2328511
License : GPLv3+
Signature : RSA/SHA256, Mon 01 Jul 2019 08:15:52 PM EDT, Key ID 05b555b38483c65d
Source RPM : nano-2.9.8-1.el8.src.rpm
Build Date : Sat 11 May 2019 11:03:56 AM EDT
Build Host : x86-02.mbox.centos.org
Relocations : (not relocatable)
Packager : CentOS Buildsys <bugs@centos.org>
Vendor : CentOS
URL : https://www.nano-editor.org
Summary : A small text editor
Description :
GNU nano is a small and friendly text editor.
我不确定为什么在执行 rpm -qa | grep nano 时会出现,然后当我执行 rpm -qpi nano-2.9.8-1.el8.x86_64.rpm 时会显示 安装日期:(未安装)
有人可以帮我理解一下吗?
谢谢!!
【问题讨论】: