[Yum] yum update tonight disabled yum and any other libxml2 using application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gene Heskett wrote:
> Greetings;
> 
> I reinstalled yum 2.0.7 by force, added a few excludes to the yum.conf, and it downloaded and updated about 90 packages, including the whole kit, devel and python, for libxml2.
> 
> Now, yum won't run again, nor will any other python/libxml2 using
> program because there are new things in the lib that nothing else
> knows about:

Gene:
Yum is not a magical tool that will fix your machine, especially if you 
don't shun using "force" to install or remove packages or individual 
files. In fact, since yum relies on your rpmdb to figure out the state 
of things, it is possible to confuse your system even more by running 
it, if things were out of whack in the first place.

> [root@coyote root]# yum update
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 22, in ?
>     import yummain
>   File "/usr/share/yum/yummain.py", line 31, in ?
>     import yumcomps
>   File "/usr/share/yum/yumcomps.py", line 4, in ?
>     import comps
>   File "/usr/share/yum/comps.py", line 5, in ?
>     import libxml2
>   File "/usr/lib/python2.3/site-packages/libxml2.py", line 1, in ?
>     import libxml2mod
> ImportError: /usr/lib/python2.3/site-packages/libxml2mod.so: undefined symbol: xmlNewDocPI

It relies on /usr/lib/libxml2.so.2, which provides that symbol.

> In /usr/lib/python2.3/site-packages I now have:
> [root@coyote site-packages]# ls -l libxml2*
> -rw-r--r--  1 root root 347678 Oct 27 17:18 libxml2mod.a
> -rwxr-xr-x  1 root root    911 Oct 27 17:18 libxml2mod.la
> -rwxr-xr-x  1 root root 263088 Oct 27 17:18 libxml2mod.so
> -rw-r--r--  1 root root 308578 Oct 27 17:18 libxml2.py
> -rw-r--r--  1 root root 525102 Oct 29 02:49 libxml2.pyc

The timestamps suggest that these files were modified recently, meaning 
that you have probably done something evil to libxml2 or libxml2-python, 
which resulted in its general brokenness.

> So how do I get things matched up again so everything (up2date, yum, gftp,
> etc all works again?

You ask these questions on a fedora support list, not here. This list 
deals with yum, not with undoing the actions of admins that resulted in 
things going haywire. Creative mixing and matching of things installed 
from fringe repositories, building stuff from tarballs, and then using 
brute force to accomplish certain tasks will never fail to result in an 
unusable system.

Regards,
--icon

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux