- 论坛徽章:
- 0
|
rpm和yum 命令出错了,请高手帮忙看下.
这是提示错误,软件也无法安装.
[root@web Server]# rpm -qa
rpm: error while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directory
[root@web Server]#
这是yum命令的提示,其中yum我用的本地的.
[root@web Server]# yum list all
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libbz2.so.1: 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.4.3 (#1, Sep 17 2008, 16:04:01)
[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@web Server]#
我试图重建rpm数据库但也一样提示错误.
[root@web Server]# rpm --rebuilddb
rpm: error while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directory
[root@web Server]#
请大家帮忙解决下,谢谢... |
|