Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    84

    Default Yum Broken Any Suggestions

    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. #2
    Member jBillu's Avatar
    Join Date
    Oct 2008
    Posts
    17

    Default 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.
    Bilal B. | JaguarPC
    bilal-at-jaguarpc.com
    www.JaguarPC.com

  3. #3
    Member
    Join Date
    Apr 2004
    Posts
    84

    Default :-)

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

Similar Threads & Tags
Similar threads

  1. Yum broken after cpanel latest update
    By pamamolf in forum New User Questions
    Replies: 2
    Last Post: 11-27-2010, 05:05 PM
  2. Yum broken? Ksplice/Zymon
    By santrix in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-27-2010, 12:51 AM
  3. All sites down easyapache wont rebuild yum broken
    By hostcadet in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-06-2010, 11:37 AM
  4. Yum (and rpm?) broken - Who updates the updater?
    By WindyT in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-25-2009, 04:06 PM
  5. Yum update broken after last upgrades
    By whitewlf in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-20-2008, 02:28 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube