I have a problem using yum. it gives me the following error
[root@mail1 src]# yum update yum There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
/usr/lib/python2.3/site-packages/libxml2mod.so: undefined symbol: xmlNewDocPI
Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is: 2.3.4 (#1, Mar 10 2006, 06:12:09) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
I have looked in Internet and others forums but i couldn't find any answer on how to fix this error.
On Tue, 2006-09-26 at 21:31 -0400, Jesus Bernardo Ruiz Flores wrote:
I have a problem using yum. it gives me the following error
[root@mail1 src]# yum update yum There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
/usr/lib/python2.3/site-packages/libxml2mod.so: undefined symbol: xmlNewDocPI
This usually happens if python (or libxml2) has been upgraded to a non centos version. It seems you have the correct python ... what does this say:
rpm -q libxml2 libxml2-python python yum
<snip>
libxml2-2.6.16-6 libxml2-python-2.6.16-6 python-2.3.4-14.2 yum-2.4.3-1
Thanks Jesus ----- Original Message ----- From: "Johnny Hughes" mailing-lists@hughesjr.com To: "CentOS ML" centos@centos.org Sent: Wednesday, September 27, 2006 10:59 AM Subject: Re: [CentOS] yum libxml2mod
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Does anyone have any suggestion i have uninstalled and installed yum and libxml, but is not working yet ----- Original Message ----- From: "Jesus Ruiz" bruiz@acelerate.com To: "CentOS mailing list" centos@centos.org Sent: Wednesday, September 27, 2006 4:55 PM Subject: Re: [CentOS] yum libxml2mod
libxml2-2.6.16-6 libxml2-python-2.6.16-6 python-2.3.4-14.2 yum-2.4.3-1
Thanks Jesus ----- Original Message ----- From: "Johnny Hughes" mailing-lists@hughesjr.com To: "CentOS ML" centos@centos.org Sent: Wednesday, September 27, 2006 10:59 AM Subject: Re: [CentOS] yum libxml2mod
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Jesus Bernardo Ruiz Flores spake the following on 9/26/2006 6:31 PM:
I have a problem using yum. it gives me the following error
[root@mail1 src]# yum update yum There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
/usr/lib/python2.3/site-packages/libxml2mod.so: undefined symbol: xmlNewDocPI
Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is: 2.3.4 (#1, Mar 10 2006, 06:12:09) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
I have looked in Internet and others forums but i couldn't find any answer on how to fix this error.
It looks as if you might need to download the current rpm-python and maybe rpm-libs and do an rpm -Uvh with them. Run a "rpm -qa|grep rpm" and post it to make sure.