The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Yum Broken Any Suggestions

Discussion in 'General Discussion' started by psychodreams, Feb 24, 2009.

  1. psychodreams

    psychodreams Well-Known Member

    Joined:
    Apr 14, 2004
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Yum stopped working

    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

    No module named ElementTree

    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.3 (#1, May 24 2008, 13:47:28)
    [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]

    This is on a CentOS 5.2 server
    I had this issue once before but im lost to as how i fixed it
    cant seem to get it fixed

    Any suggestions
     
  2. jBillu

    jBillu Member

    Joined:
    Oct 21, 2008
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Re: "Yum Broken Any Suggestions"

    A quicker solution is to remove th 'yum' rpm from your server and re-install it by downloading it from the CentOS repository. As you mentioned that you are running CentOS 5.2 so here are the links to download yum rpms:

    http://mirror.centos.org/centos/5.2/os/i386/CentOS/ < in case of 32-bit
    http://mirror.centos.org/centos/5.2/os/x86_64/CentOS/ < in case of 64-bit

    You can use 'uname -a' on shell to verify which type of OS you are using either it is 32 bit or 64 bit. I hope that will help.
     
  3. psychodreams

    psychodreams Well-Known Member

    Joined:
    Apr 14, 2004
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    :)

    Thanks for the tip I just got it fixed though i had tro mount the dvd and reinstall python
     
Loading...

Share This Page