Results 1 to 2 of 2
I was updating yum and the server froze on me for the first time. After the reset when I tried to run any YUM command such as yum update or ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-18-2011 #1
- Join Date
- Aug 2010
YUM not working
I was updating yum and the server froze on me for the first time. After the reset when I tried to run any YUM command such as yum update or yum clean all
I get this:
[root@localhost ~]# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in ?
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 50, in ?
File "/usr/lib/python2.4/site-packages/yum/comps.py", line 23, in ?
iterparse = cElementTree.iterparse
AttributeError: 'module' object has no attribute 'iterparse'
I thought maybe it was python missing a file when I do this:
[root@localhost ~]# rpm -qa | grep -i python
I'm a bit confused hoping someone can help me.
Using Centos 5.6, let me know if you need any more information.
- 06-20-2011 #2
If you were updating the yum program then you might have to re-install the yum program either from the repo by dling it manually and installing it or use your install cd to re-install it.
The adventure of a life time.
Linux User #296285