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

异常

创新互联建站是专业的夏邑网站建设公司,夏邑接单;提供成都做网站、成都网站建设,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行夏邑网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!

安装包时出现异常:
[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!

无异常,问题解决。

文章名称:rhn-client-tools和oraclelinux-release-6:6Server-5.0.2.x86_64的异常
分享地址:http://bzwzjz.com/article/pgechh.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 盐亭网站设计 响应式网站设计 成都网站建设 专业网站设计 阿坝网站设计 成都网站建设 网站制作 成都网站建设 营销网站建设 成都网站设计公司 成都网站建设 成都网站设计 成都网站制作 成都做网站建设公司 高端网站设计 手机网站制作 成都网站设计 成都网站建设 重庆网站制作 手机网站制作 成都网站设计制作公司 成都定制网站建设