Linux

redhat4 yum 설치

Naan 2013. 5. 20. 21:22
반응형

redhat4 (64bit기준)


python-elementtree-1.2.6-7.el4.rf.x86_64.rpm


python-sqlite-0.5.0-1.2.el4.rf.x86_64.rpm


python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm


rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm


sqlite-2.8.17-1.el4.rf.x86_64.rpm


yum-2.4.2-0.4.el4.rf.noarch.rpm


다운후 모두 설치

rpm -ivh *.rpm


#yum update

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, Jan  9 2007, 16:40:09)

[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]


If you cannot solve this problem yourself, please go to

the yum faq at:

  http://wiki.linux.duke.edu/YumFaq


yum update 했는데 위와 같이 에러가 뜬다면 redhat 버전 비트가 틀려서 나타나는 에러이다.
버전을 확인해보자
#uname -a
Linux ipfpga_003 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
이렇게 뜬다면 64bit이다


반응형