Re: yum installation

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

 



HI ,


I am getting error while running yum

[root@srmchennai ~]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Feb  6 2006, 10:38:45)
[GCC 3.4.5 20051201 (Red Hat 3.4.5-2)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
 

[root@srmchennai ~]# ls -l /usr/lib/python2.3/site-packages/cElementTree.so
-rwxr-xr-x  1 root root 72309 Aug 13  2006 /usr/lib/python2.3/site-packages/cElementTree.so

---- > I have set the LD_LIBRARY_PATH also to load the required library

[root@srmchennai ~]# python -V
Python 2.3.4
[root@srmchennai ~]# getconf LONG_BIT
64
[root@srmchennai ~]# uname -a
Linux srmchennai.cdacchn.in 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
[root@srmchennai ~]#


Earlier , I have installed same yum version on the other node , and it is running fine ,  the  only difference is that , it is installed in 32 bit kernel mode
[root@xn05 ~]# uname -a
Linux xn05.ctsf.cdac.org.in 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
[root@xn05 ~]#

whether the 32/64 bit kernel is the cause for error ? (or)
How to resolve this error ?

Thanks & Regards ,
shashidhar


On Tue, Jul 14, 2009 at 7:03 PM, Seth Vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:


On Tue, 14 Jul 2009, Tim Lauridsen wrote:





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.


2.4.3 is what comes with centos4. The error he reported looks more like a partially damaged python pkg or maybe pyopenssl.

it'd be worth running:

rpm -V python pyOpenSSL

to see if it reports anything.

-sv

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

_______________________________________________
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