千家信息网

rhn-client-tools和oraclelinux-release-6:6Server-5.0.2.x86_64的异常

发表于:2025-02-07 作者:千家信息网编辑
千家信息网最后更新 2025年02月07日,异常安装包时出现异常:[root@200-70 ~]# yum groupinstall "Desktop"(略)Transaction Summary========================
千家信息网最后更新 2025年02月07日rhn-client-tools和oraclelinux-release-6:6Server-5.0.2.x86_64的异常

异常

安装包时出现异常:[root@200-70 ~]# yum groupinstall "Desktop"(略)Transaction Summary================================================================================================================================================================================================================================================================Install     135 Package(s)Upgrade      16 Package(s)Total size: 124 MIs this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Check Error:  file /etc/pki/rpm-gpg/RPM-GPG-KEY from install of rhn-client-tools-1.0.0.1-18.0.2.el6.noarch conflicts with file from package oraclelinux-release-6:6Server-5.0.2.x86_64Error Summary-------------找原因:http://docs.oracle.com/cd/E37670_01/E57668/html/ol_ki_65rn.html2.2.36 Upgrading rhn-client-toolsThe expiration date for the Oracle Linux 6 GPG key has been extended in this update. If you install the rhn-client-tools package and the installed version of the oraclelinux-release package is from a previous update, you might see a transaction error such as the following:Transaction Check Error:  file /etc/pki/rpm-gpg/RPM-GPG-KEY from install ofrhn-client-tools-1.0.0.1-18.0.2.el6.noarch conflicts with file from packageoraclelinux-release-6:6Server-5.0.2.x86_64 To avoid this error, install both the oraclelinux-release and rhn-client-tools packages from this update (oraclelinux-release-6Server-6.0.2 or later and rhn-client-tools-1.0.0.1-18.0.2 or later). OK,我们来更新下系统先:[root@200-70 ~]# yum updateLoaded plugins: securitySetting up Update ProcessResolving Dependencies--> Running transaction check(略)Complete!查看版本:[root@200-70 ~]# rpm -qa |grep oraclelinux-releaseoraclelinux-release-notes-6Server-14.x86_64oraclelinux-release-6Server-6.0.2.x86_64[root@200-70 ~]# rpm -qa |grep rhn-clientrhn-client-tools-1.0.0.1-18.0.2.el6.noarch再次安装包:[root@200-70 ~]# yum groupinstall "Desktop"(略)Complete!无异常,问题解决。


0