[Yum] After successfully running, yum no longer works.
dickson at permanentmail.com
Sun Nov 23 21:29:08 UTC 2003
I getting this error when trying to run yum:
[root at violet 14:18:07 root]# yum -c /etc/yum-fedora.conf list updates
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in ?
File "yummain.py", line 21, in ?
File "clientStuff.py", line 25, in ?
File "pkgaction.py", line 25, in ?
File "rpmUtils.py", line 9, in ?
File "urlgrabber.py", line 21, in ?
File "/usr/lib/python2.2/urllib2.py", line 101, in ?
File "/usr/lib/python2.2/ftplib.py", line 68, in ?
all_errors = (Error, socket.error, IOError, EOFError)
AttributeError: 'module' object has no attribute 'error'
[root at violet 14:18:20 root]# rpm -qf /usr/lib/python2.2/ftplib.py
[root at violet 14:18:51 root]# rpm --verify python
[root at violet 14:19:21 root]#
I had downloaded yum-2.0.4 from fedora-core on the yum run just prior to
the last. Then I ran another yum again and upgraded 50 more RPMs. Now
when I invoke yum it gives me the above error (with and without the -C
There were no obvious python related rpms in the last run, but it seems
that there must have been one.
Any thoughts as to what I need to do?
More information about the Yum