Results 1 to 2 of 2
Thread: YUM not working
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
06-18-2011 #1
- Join Date
- Aug 2010
- Posts
- 14
YUM not working
I get this:
[root@localhost ~]# 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'
I thought maybe it was python missing a file when I do this:
[root@localhost ~]# rpm -qa | grep -i python
python-iniparse-0.2.3-4.el5
gnome-python2-gnomeprint-2.16.0-3.el5
gnome-python2-gconf-2.16.0-1.fc6
python-virtinst-0.400.3-9.el5_5.1
python-numeric-23.7-2.2.2
gnome-python2-applet-2.16.0-3.el5
python-2.4.3-27.el5_5.3
notify-python-0.1.0-3.fc6
audit-libs-python-1.7.17-3.el5
gnome-python2-2.16.0-1.fc6
gnome-python2-extras-2.14.2-7.el5
libvirt-python-0.6.3-33.el5_5.3
gtk-vnc-python-0.3.8-3.el5
dbus-python-0.70-9.el5_4
gnome-python2-canvas-2.16.0-1.fc6
gnome-python2-bonobo-2.16.0-1.fc6
gnome-python2-gnomekeyring-2.16.0-3.el5
python-urlgrabber-3.1.0-6.el5
gnome-python2-gnomevfs-2.16.0-1.fc6
gnome-python2-desktop-2.16.0-3.el5
gamin-python-0.1.7-8.el5
gnome-python2-gtksourceview-2.16.0-3.el5
rpm-python-4.4.2.3-22.el5
python-sqlite-1.1.7-1.2.1
gnome-python2-libegg-2.14.2-7.el5
libxslt-python-1.1.17-2.el5_2.2
mod_python-3.2.8-3.1
libxml2-python-2.6.26-2.1.2.8.el5_5.1
python-elementtree-1.2.6-5
python-ldap-2.2.0-2.1
libselinux-python-1.33.4-5.5.el5
I'm a bit confused hoping someone can help me.
Using Centos 5.6, let me know if you need any more information.
Thanks,
Josh
-
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.