Bug 222012 - Yum update problem
Summary: Yum update problem
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum
Version: 5.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Jeremy Katz
QA Contact:
URL: http://www.archcoal.com
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-09 16:30 UTC by Bill Sigmund
Modified: 2014-06-11 16:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-25 19:05:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bill Sigmund 2007-01-09 16:30:24 UTC
Description of problem: After running a yum update and a reboot, when I try to
run yum I get the error below -
Code
# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named cElementTree

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, Oct  1 2006, 18:00:19) 
[GCC 4.1.1 20060928 (Red Hat 4.1.1-28)]

If you cannot solve this problem yourself, please go to 
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
code


Version-Release number of selected component (if applicable):


How reproducible: Running yum


Steps to Reproduce:
1. Open terminal
2. yum
3.
  
Actual results:

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

   No module named cElementTree

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, Oct  1 2006, 18:00:19) 
[GCC 4.1.1 20060928 (Red Hat 4.1.1-28)]

If you cannot solve this problem yourself, please go to 
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq

Expected results: Yum should run


Additional info:

Comment 1 Bill Sigmund 2007-01-09 17:11:56 UTC
Fixed it by updating the pyton-elementtree package with an older version using 
the rpm --force --upgrade option. Yum updated the package that broke itself.  
The broken version was python-elementtree-1.2.6-7.el4.rf:0 and the fix 
package, ie, older package was pyton-elementtree-1.2.6-5.

Comment 2 Jeremy Katz 2007-01-09 18:54:42 UTC
Where did you get the python-elementtree-1.2.6-7.el4.rf package from?  That's
not something we ship and is likely broken somehow

Comment 3 Jeremy Katz 2007-04-25 19:05:28 UTC
Closing due to inactivity; please reopen if youhave further information

Comment 4 Oleg 2014-06-11 16:19:26 UTC
ERROR with rpm_check_debug vs depsolve:
rpmlib(FileDigests) is needed by wine-gecko-1.9-1.nodist.rf.i386
rpmlib(PayloadIsXz) is needed by wine-gecko-1.9-1.nodist.rf.i386


Note You need to log in before you can comment on or make changes to this bug.