개발개발/LINUX

yum 이 작동을 안할때....

꾸냥 2009. 12. 30. 13:28
# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   cannot import name canCoinstall

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.4.3 (#1, Sep  3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]

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

이라는 메세지가 나오며 우리의 친구 yum 꼐서 배째 모드로 변할때가 있다.
이럴땐

파이선을 통해 어떤 부분이 에러나는지를 찾을 수 있다.
# python
>>> import yum
에러에러에러

해당 에러를 보고 수정하면 된다. 정상 작동될 경우에는 아무런 메세지 없음

반응형