I have a problem using yum. it gives me the following error [root at 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 at 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: > xmlNewDocPIThis 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> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060927/7682ec56/attachment-0001.sig>
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 at 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. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
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 at hughesjr.com> To: "CentOS ML" <centos at centos.org> Sent: Wednesday, September 27, 2006 10:59 AM Subject: Re: [CentOS] yum libxml2mod> _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >