温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

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

发布时间:2020-05-01 00:52:18 来源:网络 阅读:889 作者:pcnk 栏目:关系型数据库

异常

安装包时出现异常:
[root@200-70 ~]# yum groupinstall "Desktop"
(略)
Transaction Summary
================================================================================================================================================================================================================================================================
Install     135 Package(s)
Upgrade      16 Package(s)

Total size: 124 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction 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_64

Error Summary
-------------

找原因:
http://docs.oracle.com/cd/E37670_01/E57668/html/ol_ki_65rn.html

2.2.36 Upgrading rhn-client-tools
The 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 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_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 update
Loaded plugins: security
Setting up Update Process
Resolving Dependencies
--> Running transaction check
(略)

Complete!

查看版本:
[root@200-70 ~]# rpm -qa |grep oraclelinux-release
oraclelinux-release-notes-6Server-14.x86_64
oraclelinux-release-6Server-6.0.2.x86_64
[root@200-70 ~]# rpm -qa |grep rhn-client
rhn-client-tools-1.0.0.1-18.0.2.el6.noarch


再次安装包:
[root@200-70 ~]# yum groupinstall "Desktop"
(略)
Complete!

无异常,问题解决。


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI