安装包冲突解决办法?

安装包冲突解决办法?

我需要从软件包中安装 auditd,因为我的 CentOS 6.6 服务器无法使用 yum 更新。但我遇到了一些问题,无法安装它们:

rpm -i audit-libs-2.4.5-6.el6.i686.rpm audit-2.4.5-6.el6.i686.rpm
warning: audit-libs-2.4.5-6.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
        file /lib/libaudit.so.1.0.0 from install of audit-libs-2.4.5-6.el6.i686 conflicts with file from package audit-libs-2.3.7-5.el6.i686
        file /lib/libauparse.so.0.0.0 from install of audit-libs-2.4.5-6.el6.i686 conflicts with file from package audit-libs-2.3.7-5.el6.i686

有没有办法安装这些包而不产生任何冲突?谢谢

答案1

我用:

rpm -Uvh <package>.rpm

毫无问题地升级我的 pkg

相关内容