New Updates Failed

When trying to complete the updates I get errors on a lot of the update installs.

Transaction Check Error:
  file /etc/pki/tls/certs/Makefile from install of openssl-0.9.8e-22.el5.x86_64 conflicts with file from package openssl-0.9.8e-20.el5_7.1.0.1.centos.i686
  file /etc/pki/tls/certs/ca-bundle.crt from install of openssl-0.9.8e-22.el5.x86_64 conflicts with file from package openssl-0.9.8e-20.el5_7.1.0.1.centos.i686
  file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-22.el5.x86_64 conflicts with file from package openssl-0.9.8e-20.el5_7.1.0.1.centos.i686
  file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-22.el5.x86_64 conflicts with file from package openssl-0.9.8e-20.el5_7.1.0.1.centos.i686
  file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-22.el5.x86_64 conflicts with file from package openssl-0.9.8e-20.el5_7.1.0.1.centos.i686

Looks most of the errors are caused by a conflict from the i386 files. There were about 30 updates that failed. Is there a way to replace all the i386 files with a x86_64 files?

Thanks Michael

Status: 
Closed (fixed)

Comments

Howdy -- yeah, we've seen that happen on occasion with CentOS 5 systems.

There's some details on that here in the article named "Why Is 32bit Perl installed on my 64bit CentOS System":

http://www.virtualmin.com/documentation/system/faq

What it comes down to is that there's somehow a mix of 32bit and 64bit packages installed on your system. It's not always safe to just remove all of them, but you should typically be able to remove the ones that are causing conflicts for you during the updates.

You can use this command to see what 32bit systems you have installed now:

rpm -qa --qf "%{n}-%{arch}\n" | grep -v noarch | grep -v x86_64

And then, to remove packages such as the 32 bit openssl package you have there, you can type:

yum remove openssl.i386

And then you can install the correct package with:

yum install openssl

Thanks for the Reply andreychek.

When I ran the command "yum remove openssl.i386" it said the package didn't exist. so I checked and the package that was installed was "openssl-i686" so I substituted the i686 in the command, and it removed a lot of other stuff too. I was going to copy the list, but the Terminal close before I could copy it.

Am I going to have problems now?

so I substituted the i686 in the command, and it removed a lot of other stuff too. I was going to copy the list, but the Terminal close before I could copy it. Am I going to have problems now?

My apologies, I didn't see that reply come through on Thursday.

Regarding your question -- it's difficult to say without seeing the full list, but probably not :-)

Most of the i386/i686 packages shouldn't be needed on your 64 bit system.

However, if you do have any issues, feel free to let us know and we can figure out what's going on!