这个系统是RHEL5.3的系统,配置好了Yum提示以下问题:
[root@loghost ~]# yum install vsftpd
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named sqlite
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 17 2008, 16:07:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-41)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
[root@loghost ~]# rpm -qa |grep python-sqlite* 无提示,说明这个包没有安装
[root@loghost ~]# rpm -ivh /usr/local/src/yum_pack/Server/python-s
python-setuptools-0.6c5-2.el5.noarch.rpm python-sqlite-1.1.7-1.2.1.x86_64.rpm
[root@loghost ~]# rpm -ivh /usr/local/src/yum_pack/Server/python-sqlite-1.1.7-1.2.1.x86_64.rpm
Preparing... ########################################### [100%]
1:python-sqlite ########################################### [100%]
在试试yum 就可以了!是少了python-sqlite-1.1.7-1.2.1.x86_64.rpm这个包没装;