CentOs 5.7 - YUM wrong

Gabriel Pinares <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <CAFyoL=UXuxHA=kpE+_91s=w5BP4GuD6XPJ+BGADBkA0D20Xkmw@mail.gmail.com>
Hi,

how I can repair my YUM ?

I run:

# yum --version|head -1
Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in ?
    import yum
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 50, in ?
    import comps
  File "/usr/lib/python2.4/site-packages/yum/comps.py", line 23, in ?
    iterparse = cElementTree.iterparse
AttributeError: 'module' object has no attribute 'iterparse'

# yum update
Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in ?
    import yum
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 50, in ?
    import comps
  File "/usr/lib/python2.4/site-packages/yum/comps.py", line 23, in ?
    iterparse = cElementTree.iterparse
AttributeError: 'module' object has no attribute 'iterparse'

#


Now, how I can repair my YUM?

I am in CentOs 5.7

Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.