Re: yum installation

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

 





On Mon, Jul 13, 2009 at 4:50 PM, shashidhar velagandula <shashidhar.velagandula@xxxxxxxxx> wrote:
HI ,

        I have installed  yum-2.4.3 on RHEL4 , and its dependencies also resolved , but iam not able to run "yum "


[root@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@srmhyd ~]# python -V
Python 2.3.4
[root@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

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[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