| mewto |
03-09-2010 09:44 AM |
Follow up "32 bit packages installed in 64 bit system"
In case you wonder what is the big deal of having a few (hundred) extra packages installed. Here is the real dilemma I have.
As one of my requirements, I need to update libxml2 from version 2.6.26, as it comes with CentOS distro, to a more modern version >=2.7.1. I downloaded libxml2-2.7.6-1.x86_64.rpm from SourceForge and tried to upgrade but run into this
Quote:
[root@dmz-tms-02 libx]# rpm -Uvh libxml2-2.7.6-1.x86_64.rpm
Preparing... ########################################### [100%]
file /usr/share/man/man1/xmlcatalog.1.gz from install of libxml2-2.7.6-1.x86_64 conflicts with file from package libxml2-2.6.26-2.1.2.8.i386
file /usr/share/man/man1/xmllint.1.gz from install of libxml2-2.7.6-1.x86_64 conflicts with file from package libxml2-2.6.26-2.1.2.8.i386
|
That's when I realized that I have both i386 & x86_64 libxml2 installed. I can confirmed that:
Quote:
[root@dmz-tms-02 libx]# rpm -e libxml2-2.6.26-2.1.2.8
error: "libxml2-2.6.26-2.1.2.8" specifies multiple packages
[root@dmz-tms-02 libx]# rpm -q --queryformat "%{name}.%{arch}\n" libxml2
libxml2.x86_64
libxml2.i386
|
So I figured, I'll remove the old i386 version since it is the one causing conflict now. But things are never quite so easy:
Quote:
[root@dmz-tms-02 libx]# rpm -e libxml2.i386
error: Failed dependencies:
libxml2.so.2 is needed by (installed) libxslt-1.1.17-2.el5_2.2.i386
libxml2.so.2 is needed by (installed) libbonobo-2.16.0-1.fc6.i386
libxml2.so.2 is needed by (installed) libxml2-devel-2.6.26-2.1.2.8.i386
libxml2.so.2 is needed by (installed) GConf2-2.14.0-9.el5.i386
libxml2.so.2 is needed by (installed) gnome-vfs2-2.16.2-4.el5.i386
libxml2.so.2 is needed by (installed) xmlsec1-1.2.9-8.1.1.i386
|
That would be a lot of i386 packages to remove. Thus the question: Why are all these i386 packages installed?
|