When I tried to update syslog-ng, I ended up getting following error message. Transaction Check Error: file /etc/init.d/syslog-ng from install of syslog-ng-2.1.4-9.el5.x86_64 conflicts with file from package syslog-ng-2.0.9-4.el5.i386 file /etc/logrotate.d/syslog from install of syslog-ng-2.1.4-9.el5.x86_64 conflicts with file from package syslog-ng-2.0.9-4.el5.i386 I had to do following to resolve this issue. rpm -e --nodeps syslog-ng yum install syslog-ng 2011-08-08 22:07:35 UTC [root@is-dev:/opt/install/is]# cat /etc/issue Red Hat Enterprise Linux Server release 5.7 (Tikanga) 2011-08-08 22:08:55 UTC [root@is-dev:/opt/install/is]# uname -a Linux is-dev.grid.iu.edu 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
I believe you have installed, or you were trying to install, both the 32 and 64 bits version of syslog-ng (syslog-ng-2.1.4-9.el5.x86_64 vs syslog-ng-2.0.9-4.el5.i386). Could you check that you have only one arch of syslog-ng installed? And the one installed matched your kernel arch? (rpm -q syslog-ng; uname -a). /jpo
I am not sure why 32 bit version of syslog-ng was installed, and I don't know why yum update all the sudden started to upgrade it to 64bit version. The real problem is that, I should be able to upgrade from 32bit to 64bit. One of our colleague has suggested that syslog-ng rpm spec file updated to include multilib parameters (http://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks) We've always run "yum update" without this issue, and I believe having conflicting RPM in our machine was the trigger to this issue, not the cause itself. Soichi
Soichi, (In reply to comment #2) > ... > The real problem is that, I should be able to upgrade from 32bit to 64bit. > ... I don't believe this kind of migration is even recommended or supported by Red Hat (at least I never come across a Red Hat document detailing the procedure). Also, be advised that syslog-ng 2.1.4 is no longer supported by upstream. Regards, jpo
(In reply to comment #2) > ... One > of our colleague has suggested that syslog-ng rpm spec file updated to include > multilib parameters > (http://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks) May I ask why would you want to run a 32-bit version of syslog-ng in a 64-bit system?