rpm -ivh 安装与 rpm -U安装解决问题一例

时间:2023-03-08 16:40:23

[root@localhost server3.10.12]# rpm  -ivh krb5-libs-1.15.1-18.el7.x86_64.rpm
警告:krb5-libs-1.15.1-18.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID f4a80eb5: NOKEY
准备中...                          ################################# [100%]
        file /etc/krb5.conf from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/lib64/krb5/plugins/tls/k5tls.so from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/lib64/libgssapi_krb5.so.2.2 from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/lib64/libgssrpc.so.4.2 from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/lib64/libk5crypto.so.3.1 from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/lib64/libkdb5.so.8.0 from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/lib64/libkrad.so.0.0 from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/lib64/libkrb5.so.3.3 from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/lib64/libkrb5support.so.0.1 from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/share/man/man5/k5identity.5.gz from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/share/man/man5/k5login.5.gz from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
        file /usr/share/man/man5/krb5.conf.5.gz from install of krb5-libs-1.15.1-18.el7.x86_64 conflicts with file from package krb5-libs-1.13.2-10.el7.x86_64
[root@localhost server3.10.12]# rpm  -ivh gssproxy-0.7.0-4.el7.x86_64.rpm
警告:gssproxy-0.7.0-4.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID fd431d51: NOKEY
错误:依赖检测失败:
        krb5-libs >= 1.15 被 gssproxy-0.7.0-4.el7.x86_64 需要
[root@localhost server3.10.12]#

明明安装好了krb5-libs-1.15.1-18.el7.x86_64.rpm,还是报依赖。 用更新的方式重安装krb5-libs-1.15.1-18.el7.x86_64.rpm,

[root@localhost server3.10.12]# rpm  -U  krb5-libs-1.15.1-18.el7.x86_64.rpm
警告:krb5-libs-1.15.1-18.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID f4a80eb5: NOKEY
[root@localhost server3.10.12]#  rpm  -ivh gssproxy-0.7.0-4.el7.x86_64.rpm
警告:gssproxy-0.7.0-4.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID fd431d51: NOKEY
准备中...                          ################################# [100%]
正在升级/安装...
   1:gssproxy-0.7.0-4.el7             ################################# [100%]

问题解决