Strange python error with yum/up2date

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

 



Hi Folks,

I recently upgraded my RH9 box to fc2. When I´m logged in as root or
make su - root as a normal user and then run either "yum" or "up2date" I
get the following error:
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: xmlXIncludeProcessFlags

When just making "su" as normal user and then running yum/up2date
anything works fine.

I already searched google for that but the only hint I got was to check
if libxml2 and libxml2-devel should be the same version. This is the
case. I also updated to the latest python, libxml2(-devel) packages.

# rpm -qa | grep libxml2
libxml2-python-2.6.10-2
libxml2-2.6.10-2
libxml2-devel-2.6.10-2

It´s so strange that the error only occurs when yum/up2date is being run
under root.

Any help is appreciated!

Thanks & Regards,

Chris



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux