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. ...
随机推荐
- [原创] 更新Ubuntu自带的python2.X版本 ImportError: No module named pip;ImportError: No module named _sqlite3
Ubuntu14.04自带的Python2版本,是2.7.6的,想更新为最新的2.7.11,操作如下: 1. 从python官网下载2.7.11的source源码包 Python-2.7.11.tgz ...
- Hadoop HDFS编程 API入门系列之HdfsUtil版本1(六)
不多说,直接上代码. 代码 package zhouls.bigdata.myWholeHadoop.HDFS.hdfs2; import java.io.FileOutputStream;impor ...
- Linux设置静态IP
在做项目时由于公司局域网采用自动获取IP的方式,导到每次服务器重启主机IP都会变化.为了解决这个问题,我参考了http://blog.sina.com.cn/s/blog_537977e50100qh ...
- AX2012R2使用SQL Server2014安装报表扩展报错
尝试在SQL Server2014上安装AX2012 R2的Reporting Services扩展失败,出现如下错误: "Could not load file or assembly ' ...
- {Links}{Matting}{Saliency Detection}{Superpixel}Source links
自然图像抠图/视频抠像技术发展情况梳理(image matting, alpha matting, video matting)--计算机视觉专题1 http://blog.csdn.net/ansh ...
- [珠玑之椟]浅谈代码正确性:循环不变式、断言、debug
这个主题和代码的实际写作有关,而且内容和用法相互交织,以下只是对于其内容的一个划分.<编程珠玑>上只用了两个章节20页左右的篇幅介绍,如果希望能获得更多的实例和技巧,我比较推崇<程序 ...
- spi controller
http://blog.csdn.net/droidphone/article/details/24353293 http://www.china-cpu.com/supports/article/0 ...
- Ubuntu下搭建Android编译环境
Ubuntu一台新机器的一些环境搭建新增一个3TB的硬盘,挂载方法,大于2TB的得parted来进行分区1: sudo parted /dev/sda2: mklabel gpt3: unit TB4 ...
- 定位一组对象-checkbox 、radiobutton
webdriver 可以很方便的使用find_element 方法来定位某个特定的对象,不过有时候我们却需要定位一组对象,WebElement 接口同样提供了定位一组元素的方法find_element ...
- JSP如何保存页面上众多的复选状态
一.描述: 最近写的一个问题管理模块,录入问题时需要选择客户(也就是那些客户存在这些问题),当保存完问题后,再次编辑问题时,如何从数据库里读取上次选中的客户并展示位勾选状态呢?问题表cust_ques ...