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 |
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. |
How to avoid updating e.g. "openib" :
Add a line to /etc/yum.conf Code:
exclude=openib* http://kmaiti.blogspot.dk/2011/02/ho...n-yumconf.html - |
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 |
All times are GMT -5. The time now is 01:47 PM. |