LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2014, 10:14 PM   #1
TAMUK_HPCC
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
File conflict on update from CentOS 5.4 to 5.10


Hello everyone:

I am in the process of updating a machine running CentOS 5.4 to CentOS 5.10 (the latest and last 5-series version).

I get the following Transaction Check Errors when doing yum update:

file /etc/rc.d/init.d/openibd from install of openib-1.5.4.1-4.el5.noarch conflicts with file from kernel-ib-1.5.1.0-2.6.18_164.6.1.el5xen.x86_64

file /etc/udev/rules.d/90-ib.rules from install of openlib-1.5.4.1-4.el5.noarch conflicts with file from package kernel-ib-1.5.1.0-2.6.18_164.6.1.el5xen.x86_64

The openib... is one of the additional packages being installed due to dependencies.

I have tried --exclude= but the exclusion generates other errors.

Any suggestions would be greatly appreciated.

Robert
 
Old 01-10-2014, 08:35 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Best option - just avoid upgrading the conflicting package(s)

Not-so-good option:
1. Download the rpms for the currently installed versions of the conflicting packages
2. Download the rpm for new version of the package to be upgraded
3. Forcibly install the new package (rpm -Uvh --nodeps ...)
If everything works, then great. If not, forcibly reinstall the old packages

I've used the not-so-good option with mixed results when working with Fedora Rawhide. Consider yourself warned.
 
Old 01-10-2014, 02:49 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
How to avoid updating e.g. "openib" :

Add a line to /etc/yum.conf
Code:
exclude=openib*
! Be aware that the wildcard ( * ) is important. Cannot be omitted.
http://kmaiti.blogspot.dk/2011/02/ho...n-yumconf.html

-
 
Old 01-10-2014, 03:34 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
all of the above
and keep in mind that RHEL5/CentOS5/SL5 all have some very NASTY conflicts with the third party repos
things like rpmforge are incompatible with the centos 5 update and base repos

you REALLY do need to have installed and CONFIGURED "yum-priorities" plugin
-- or PROTECT BASE !!!

Priorities
http://wiki.centos.org/PackageManagement/Yum/Priorities

ProtectBase
http://wiki.centos.org/PackageManage...um/ProtectBase
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
conflict update php in Centos maxman1 Linux - Newbie 3 03-25-2011 02:06 AM
Yum Update logging file conflict errors rclaudio Linux - Newbie 4 07-18-2008 07:01 AM
Yum update fails due to file conflict daveginorge Linux - Software 1 02-17-2008 08:09 AM
yum update dbus results in file conflict dvlierop Fedora 2 11-13-2005 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration