[Yum] yum installation

Tim Lauridsen tim at rasmil.dk
Tue Jul 14 13:25:28 UTC 2009


On Mon, Jul 13, 2009 at 4:50 PM, shashidhar velagandula <
shashidhar.velagandula at gmail.com> wrote:

> HI ,
>
>         I have installed  yum-2.4.3 on RHEL4 , and its dependencies also
> resolved , but iam not able to run "yum "
>
>
> [root at srmhyd ~]# yum
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 4, in ?
>     import yum
>   File "__init__.py", line 36, in ?
>   File "config.py", line 32, in ?
>   File "/usr/lib/python2.3/site-packages/urlgrabber/__init__.py", line 53,
> in ?
>     from grabber import urlgrab, urlopen, urlread
>   File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 389,
> in ?
>     import sslfactory
>   File "/usr/lib/python2.3/site-packages/urlgrabber/sslfactory.py", line
> 23, in ?
>     from M2Crypto import SSL
>   File "/usr/lib/python2.3/site-packages/M2Crypto/__init__.py", line 36, in
> ?
>     import m2urllib2
>   File "/usr/lib/python2.3/site-packages/M2Crypto/m2urllib2.py", line 20,
> in ?
>     class HTTPSHandler(AbstractHTTPHandler):
>   File "/usr/lib/python2.3/site-packages/M2Crypto/m2urllib2.py", line 91,
> in HTTPSHandler
>     https_request = AbstractHTTPHandler.do_request_
> AttributeError: class AbstractHTTPHandler has no attribute 'do_request_'
> [root at srmhyd ~]# python -V
> Python 2.3.4
> [root at srmhyd ~]#
>
>
I am not sure you can run yum-2.4.3 on RHEL4, it think the python 2.3.4 is
to old, you need an older version of yum.
You can check out the Centos 4.x versions of yum, to see what will work.

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20090714/6d774116/attachment.htm>


More information about the Yum mailing list