RHEL5.8使用yum安装应用时包冲突的处理
RHEL5.8使用yum安装应用时包冲突的处理办法记录,总体思路是如果发现包冲突的情形,那么就把冲突的包给删除掉,然后再重新使用yum安装即可。
冲突示例:
- Transaction Check Error:
- file /usr/share/locale/af/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/am/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ar/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/as/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/be/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/bg/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/bn/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/bn_IN/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ca/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/cs/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/cy/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/da/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/de/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/el/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/en_GB/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/es/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/et/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/fa/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/fi/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/fr/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/gu/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/he/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/hi/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/hr/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/hy/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/id/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ilo/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/is/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/it/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ja/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/kn/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ko/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/lt/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/lv/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/mk/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ml/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/mr/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ms/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/nb/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/nl/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/no/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/nso/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/or/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/pa/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/pl/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/pt/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/pt_BR/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ro/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ru/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/si/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/sk/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/sl/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/sr/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/sr@Latn/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/sv/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ta/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/te/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/th/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/tr/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/uk/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/ur/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/vi/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/zh_CN/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/zh_TW/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/locale/zu/LC_MESSAGES/firstboot.mo from install of firstboot-1.4.27.9-1.el5.centos.x86_64 conflicts with file from package firstboot-tui-1.4.27.9-1.el5.x86_64
- file /usr/share/backgrounds/images/default-5_4.jpg from install of desktop-backgrounds-basic-2.0-41.el5.centos.noarch conflicts with file from package redhat-logos-4.9.16-1.noarch
- file /usr/share/backgrounds/images/default-dual-wide.jpg from install of desktop-backgrounds-basic-2.0-41.el5.centos.noarch conflicts with file from package redhat-logos-4.9.16-1.noarch
- file /usr/share/backgrounds/images/default-dual.jpg from install of desktop-backgrounds-basic-2.0-41.el5.centos.noarch conflicts with file from package redhat-logos-4.9.16-1.noarch
- file /usr/share/backgrounds/images/default-wide.jpg from install of desktop-backgrounds-basic-2.0-41.el5.centos.noarch conflicts with file from package redhat-logos-4.9.16-1.noarch
- file /usr/share/backgrounds/images/default.jpg from install of desktop-backgrounds-basic-2.0-41.el5.centos.noarch conflicts with file from package redhat-logos-4.9.16-1.noarch
- Error Summary
- -------------
从以上错误信息中可以看到,在安装应用时所需的firstboot-tui包和redhat-logos两个包与现有的包冲突了,因此执行删除命令清除两个冲突包。
yum -y remove firstboot-tui*
yum -y remove redhat-logos-*
- [root@localhost ~]# yum -y remove firstboot-tui*
- Loaded plugins: katello, product-id, security, subscription-manager
- Updating certificate-based repositories.
- Unable to read consumer identity
- Setting up Remove Process
- Resolving Dependencies
- --> Running transaction check
- ---> Package firstboot-tui.x86_64 0:1.4.27.9-1.el5 set to be erased
- --> Processing Dependency: firstboot-tui = 1.4.27.9 for package: firstboot
- --> Running transaction check
- ---> Package firstboot.x86_64 0:1.4.27.9-1.el5 set to be erased
- --> Processing Dependency: firstboot for package: system-config-keyboard
- --> Running transaction check
- ---> Package system-config-keyboard.noarch 0:1.2.11-1.el5 set to be erased
- --> Finished Dependency Resolution
- Dependencies Resolved
- ============================================================================================================
- Package Arch Version Repository Size
- ============================================================================================================
- Removing:
- firstboot-tui x86_64 1.4.27.9-1.el5 installed 665 k
- Removing for dependencies:
- firstboot x86_64 1.4.27.9-1.el5 installed 973 k
- system-config-keyboard noarch 1.2.11-1.el5 installed 193 k
- Transaction Summary
- ============================================================================================================
- Remove 3 Package(s)
- Reinstall 0 Package(s)
- Downgrade 0 Package(s)
- Downloading Packages:
- Running rpm_check_debug
- Running Transaction Test
- Finished Transaction Test
- Transaction Test Succeeded
- Running Transaction
- Erasing : firstboot-tui 1/3
- Erasing : firstboot 2/3
- Erasing : system-config-keyboard 3/3
- Installed products updated.
- Removed:
- firstboot-tui.x86_64 0:1.4.27.9-1.el5
- Dependency Removed:
- firstboot.x86_64 0:1.4.27.9-1.el5 system-config-keyboard.noarch 0:1.2.11-1.el5
- Complete!
- [root@localhost ~]#
再次安装发现已经没有问题了。
RHEL5.8使用yum安装应用时包冲突的处理的更多相关文章
- 安装mysql时包冲突解决方法
报错信息如下: 解决办法: 在卸载代码上加上不检查关联信息即可(rpm -ev mysql-libs-5.1.73-7.el6.x86_64 --nodeps) 检查服务器是否还有mysql安装包:r ...
- yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between
yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-f ...
- CentOS yum安装软件时保留安装包及依赖包或者自动下载安装包及相关依赖包
CentOS上安装某个软件一般都有很多相关的依赖包,当然,这也与我们安装时software selection步骤中选择的版本有关系,我们服务器在安装CentOS时一般选择Basic Web Serv ...
- 如何查看yum安装的程序包都放在哪些地方了?
yum安装, 是先下载下来, 然后安装, 用dnf代替yum后, 配置文件跟yum类似, 也是放在 /etc/dnf/ 目录下的, 也有dnf.conf 配置文件等 dnf list后面还可以跟参数: ...
- RHEL5.8使用yum安装xclock
使用xshell连接RHEL5.8服务器,敲入xclock命令想验证图形化安装条件,但是显示无此命令. [root@template ~]# xclock -bash: xclock: command ...
- Red Hat Enterprise Linux Server(RHEL) yum安装软件时This system is not registered with RHN. RHN support will be disabled. 的解决方法(转)
新安装了redhat6.5.安装后,登录系统,使用yum update 更新系统.提示: This system is not registered to Red Hat Subscription M ...
- centos 7 无网络情况下,解决yum 安装依赖rpm包
方法一:在一台有网络的机器,用yum下载好所需程序,传到另外一台网络的机器上安装 yum install xtrabackup --downloadonly --downloaddir=/rpmpat ...
- yum install错误 系统环境:Oracle Linux5.4 在通过yum安装软件时出现以下错误:
1.yum配置文件 1 [root@rh168 yum.repos.d]# cat yum.repo 2 [base] 3 name=Oracle linux 4 baseurl=file:/// ...
- Linux - yum 安装软件时被 PackageKit 锁定
问题描述 yum 安装软件的时候报错 sudo yum install netease-cloud-music 已加载插件:fastestmirror, langpacks /var/run/yum. ...
随机推荐
- app的meta标签
1.规定网页编码 <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> ...
- sqlserver复制报”应用复制的命令时在订阅服务器上找不到该行“解决方法
最近遇到“应用复制的命令时在订阅服务器上找不到该行”问题,报错如下: 官方给出的建议是重新同步和初始化订阅,当然,这是一种选择,但是对于动辄上百G的生产库,这种方法会消耗大量的资源和时间.可以通过定位 ...
- 自己练习读取写入txt
读取文件中的内容生成一个list,然后修改list后再写会该文件文件中的格式是:AA,BB,CC,DDblist = []for line in open('a.txt'): blist.extend ...
- yum 介绍
yum是一个用于管理rpm包的后台程序,用python写成,可以非常方便的解决rpm的依赖关系.在建立好yum服务器后,yum客户端可以通过 http.ftp方式获得软件包,并使用方便的命令直接管理. ...
- LIS检验系统,简介及主要特点
简介 主要实现实验室设备的联机管理和信息传输以及发布,其联机共享范围小到单机版,大到医院之间或区域互联,都可以任意选择,按需升级. 主要特点 打报告不用输入姓名,报告处理轻松.高效.无差错 检查项 ...
- VMware使用中常见问题
1.NAT模式下,主机与虚拟机可以相互ping通,但虚拟机无法上网 解决办法:a.设置主机网络属性如下图所示,允许网络共享.
- [Swift]基础
[Swift]基础 一, 常用变量 var str = "Hello, playground" //变量 let str1="Hello xmj112288" ...
- c语言知识点
1.在c语言中,函数,声明,调用的类型务必是一致的, 2.主机id:指ip地址最后一个字节,例如,203.86.61.106,---->106指主机id, 3,端口号:6789,换成16进制1A ...
- 《机器学习实战》学习笔记——第2章 KNN
一. KNN原理: 1. 有监督的学习 根据已知事例及其类标,对新的实例按照离他最近的K的邻居中出现频率最高的类别进行分类.伪代码如下: 1)计算已知类别数据集中的点与当前点之间的距离 2)按照距离从 ...
- LeetCode OJ 274. H-Index
Given an array of citations (each citation is a non-negative integer) of a researcher, write a funct ...