방치하던 서버에 오랜만에 손을 대는데 yum 이 안됨??? 허허...
# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
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.7 (r27:82500, Jul 29 2012, 15:29:54)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
파이썬의 현재 버전에 맞지 않는 모듈이 어쩌구 저쩌구...
저 링크를 따라가보니,
rpmbuild --rebuild yum*.src.rpm
요래 하라는데 머래 안대~
# ln -s /usr/bin/python2.4 /usr/bin/python
python -> python2.7 심볼릭 링크를 python2.4로 변경하여 해결
WRITTEN BY
- 손가락귀신
정신 못차리면, 벌 받는다.
,