rhn-client-tools和oraclelinux-release-6:6Server-5.0.2.x86_64的异常
2015-07-09 17:16
876 查看
异常
安装包时出现异常: [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! 无异常,问题解决。
相关文章推荐
- Centos6 编译安装Python
- centos下删除用yum安装的软件
- 利用yum安装Redis的方法详解
- CentOS 5.5使用yum来安装LAMP(php运行环境)
- centos6利用yum安装php mysql gd的步骤
- Linux下yum常用命令汇总
- CentOS 5 上安装yum的方法
- CentOS 6.5系统中使用yum安装MongoDB 2.6 教程
- centos yum 安装 mongodb 以及php扩展
- 使用光盘配置本地yum源的方法 yum源配置
- 阿里云云服务器Linux系统更新yum源Shell脚本
- CentOS7系统下用YUM安装Nginx详解
- 【笔记】CentOS
- CentOS如何将DVD设置为默认yum源以便DVD中软件的下载安装
- yum安装MySQL并设置密码
- 让centos使用国内163源
- yum 安装报错
- 【推荐】在RedHat Server 5.4上安装YUM【利用网易免费yum源,配置和更新yum】
- redhat yum配置
- yum安装rpm包时遇到“warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY”的解决办法