[Yum] After successfully running, yum no longer works.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I getting this error when trying to run yum:

[root@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 ?
    import yummain
  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 ?
    import ftplib
  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@violet 14:18:20 root]# rpm -qf /usr/lib/python2.2/ftplib.py
python-2.2.3-7
[root@violet 14:18:51 root]# rpm --verify python
[root@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
argument).

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?


	-Paul


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux