728x90
반응형
yum 업데이트 했을 때 아래와 같은 에러가 보인다면
#yum update
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, Aug 24 2012, 08:08:08)
[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
다시 설치한다.
CentOS 5.9 (final) 기준 (http://mirror.centos.org/centos/5/os/i386/CentOS/ 참조)
#rpm -Uvh --replacepkgs http://mirror.centos.org/centos/5/os/i386/CentOS/tix-8.4.0-11.fc6.i386.rpm
#rpm -Uvh --replacepkgs http://mirror.centos.org/centos/5/os/i386/CentOS/tix-devel-8.4.0-11.fc6.i386.rpm
#rpm -Uvh --replacepkgs http://mirror.centos.org/centos/5/os/i386/CentOS/python-2.4.3-56.el5.i386.rpm
#rpm -Uvh --replacepkgs http://mirror.centos.org/centos/5/os/i386/CentOS/tkinter-2.4.3-56.el5.i386.rpm
#rpm -Uvh --replacepkgs http://mirror.centos.org/centos/5/os/i386/CentOS/python-devel-2.4.3-56.el5.i386.rpm
#rpm -Uvh --replacepkgs http://mirror.centos.org/centos/5/os/i386/CentOS/python-libs-2.4.3-56.el5.i386.rpm
#rpm -Uvh --replacepkgs http://mirror.centos.org/centos/5/os/i386/CentOS/python-tools-2.4.3-56.el5.i386.rpm
#rpm -Uvh --replacepkgs http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-40.el5.centos.noarch.rpm
#yum update
728x90
반응형
'IT' 카테고리의 다른 글
사용자 history 파일 삭제 방지 (0) | 2013.07.30 |
---|---|
MSSQL ErrorLog 삭제 (0) | 2013.07.30 |
ITIL (0) | 2013.07.16 |
init: cannot execute "/command/svscanboot" (0) | 2013.07.15 |
CentOS 6 nologin 계정에 SFTP를 허용하는 방법 (0) | 2013.05.09 |