yum broken :p

S.Joseph joseph at ndimedia.com
Tue Sep 14 19:45:10 UTC 2004


I use Apt on my RH9 , I'll try out Yum and let you know how my experience 
with is goes.

----- Original Message ----- 
From: "Barbara Pennacchi" <b.pennacchi at istc.cnr.it>
To: "Fedora Legacy Project" <fedora-legacy-list at redhat.com>
Sent: Tuesday, September 14, 2004 3:21 PM
Subject: yum broken :p


>
> Hello, I wrote almost one month ago to seek help with yum broken by 
> updating python. I tried some of the fixes suggested in the replies, but 
> to no avail. Then I went into vacation.
>
> Now I'm back. I've read all the back issues of this ml (I receive it in 
> the digest format), to see if somebody else had replied on this subject. 
> But no one did. Obviously I was in such a hurry to close down the store 
> that I forgot to tell those folks that "thankyouverymuch, but it was still 
> broken" :)
>
> Alas, I still need to have yum working (so at least I could try upgrading 
> from RH9 to FC2 to have a newer python version :-)
>
> To sum it up, both yums, when called upon, keep spitting this:
>
> (from the RH9, with yum 2.0.4-1 and python 2.2.2-26: the one where I tried 
> forcing back the former versions then the rpm --rebuilddb -vv)
>
> 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'
>
>
> (from the RH8 upgraded to RH9, with yum 2.0.7-1 and python 2.2.3-26, where 
> I simply removed yum, installed new yum and tried the rpm --rebuilddb -vv)
> Traceback (most recent call last):
>  File "/usr/bin/yum", line 22, in ?
>    import yummain
>  File "/usr/share/yum/yummain.py", line 22, in ?
>    import clientStuff
>  File "/usr/share/yum/clientStuff.py", line 25, in ?
>    import pkgaction
>  File "/usr/share/yum/pkgaction.py", line 25, in ?
>    import rpmUtils
>  File "/usr/share/yum/rpmUtils.py", line 10, in ?
>    from urlgrabber import URLGrabError
>  File "/usr/share/yum/urlgrabber.py", line 21, in ?
>    import urllib2
>  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'
>
> I tried removing yum with rpm -e and reinstalling, I tried forcing 
> installation of the prior python version, I tried synching yum version 
> with python version. I tried also the rpm --rebuilddb -vv. Nope. Yum is 
> still spitting error messages.
>
> Anyone has ideas or pointers ? :(
>
> I feel that somewhere, hidden or simply-not-mentioned-explicitly, there is 
> a config file or something similar (environment variables?) that had been 
> overlooked by me and by rpm.
>
> -- 
> +--------------------------------------------------------------------+
> |         WARNING WARNING WARNING *** EMAIL ADDRESS CHANGED!         |
> |                  USE EMAIL ADDRESS PROVIDED BELOW                  |
> |     IF YOU KEEP WRITING TO THE OLD ADDRESS IT IS NOT MY FAULT!     |
> +--------------------------------------------------------------------+
> | Barbara Pennacchi                          b.pennacchi at istc.cnr.it |
> |                 Consiglio Nazionale delle Ricerche                 |
> |         Istituto di Scienze e Tecnologie della Cognizione          |
> |                  V.le Marx 15, 00137 Roma, Italia                  |
> |                      http://www.istc.cnr.it/                       |
> +--------------------------------------------------------------------+
>
>
> --
> fedora-legacy-list mailing list
> fedora-legacy-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-legacy-list
> 





More information about the fedora-legacy-list mailing list