yum update error.... :( pls help me!

Discussion in 'Open Source' started by legolas, Mar 12, 2006.

Thread Status:
Not open for further replies.
  1. legolas

    legolas New Member

    Joined:
    Feb 8, 2005
    Messages:
    959
    Likes Received:
    0
    Trophy Points:
    0
    i tried to install yum, and also configured proxy, but when i try to run it, i get this error. pls help me with this. ihave tried to the fullest possible.

    Code:
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:
    
       /usr/lib/python2.4/site-packages/libxml2mod.so: undefined symbol: xmlDictCleanup
    
    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.4.1 (#1, May 16 2005, 15:19:29)
    [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
    
    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://wiki.linux.duke.edu/YumFaq
    
    /legolas
     
  2. desertwind

    desertwind New Member

    Joined:
    Nov 2, 2004
    Messages:
    1,096
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Hyderabad
    try installing the package libxml2-python24
     
  3. vignesh

    vignesh New Member

    Joined:
    Jul 20, 2004
    Messages:
    1,658
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chennai
    @desertwind Never used yum is it similar to apt ?
     
  4. Satissh S

    Satissh S New Member

    Joined:
    Mar 23, 2005
    Messages:
    692
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai , India
    Yes.. yum is written in python and is for rpm what apt is for deb.. though not quite as traditional.. You can use apt with rpm though.. This is what suse users have been doin for years..
     
  5. praka123

    praka123 left this forum longback

    Joined:
    Sep 7, 2005
    Messages:
    7,513
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    -
    apt4rpm exists and U can d/l for RH or Fedora from dags.wieers.com or atrpms.net or any..u can also try synaptic in fedora from these sites..
     
  6. desertwind

    desertwind New Member

    Joined:
    Nov 2, 2004
    Messages:
    1,096
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Hyderabad
    SmartPM has got a better gui and preconfigured repositories.
     
  7. vignesh

    vignesh New Member

    Joined:
    Jul 20, 2004
    Messages:
    1,658
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chennai
    Thanks guys..I prefer Debian and its derivates always..
     
  8. OP
    OP
    legolas

    legolas New Member

    Joined:
    Feb 8, 2005
    Messages:
    959
    Likes Received:
    0
    Trophy Points:
    0
    i am not able to configure stil after installing libxml2-pyth* .... any1 have encountered this prbs before??? :(

    /legolas
     
  9. desertwind

    desertwind New Member

    Joined:
    Nov 2, 2004
    Messages:
    1,096
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Hyderabad
    are you sure that the file is libxml2-python24* ? libxml2-python26 wont work in your case.
     
  10. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    execute the following commands and post the output
    rpm -q python
    rpm -q libxml2-python

    Also where did you get the RPM of Yum from? Did you make sure that they are for Fedora and not for mandrake or some other rpm based distro?
     
  11. OP
    OP
    legolas

    legolas New Member

    Joined:
    Feb 8, 2005
    Messages:
    959
    Likes Received:
    0
    Trophy Points:
    0
    hi,

    here is the output. and i downloaded from the yum home page for FC4...

    Code:
    bash-3.00$ rpm -q python
    python-2.4.1-2
    bash-3.00$ rpm -q libxml2-python
    libxml2-python-2.6.19-1
    libxml2-python-2.4.19-4
    bash-3.00$
    
    /legolas
     
  12. desertwind

    desertwind New Member

    Joined:
    Nov 2, 2004
    Messages:
    1,096
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Hyderabad
    i think ur problem is conflict between 2 versions of libxml2-python. try uninstalling 2.6, if not having any dependancy problems.
     
  13. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    Yes the problem is the conflict between 2 versions but the version to uninstall is 2.4 and not 2.6. 2.6 series is the latest version of libxml2 bindings and looking at the installed python version that is what he needs. iirc 2.4 version was used by RedHat while he seems to be using Fedora.
     
  14. OP
    OP
    legolas

    legolas New Member

    Joined:
    Feb 8, 2005
    Messages:
    959
    Likes Received:
    0
    Trophy Points:
    0
    uninstalled 2.6 also .no use.. i am not trying it once more! :(

    /legolas
     
Thread Status:
Not open for further replies.

Share This Page