我试图删除股票Lua并构建我自己的股票,所以我试过:
yum remove lua
但是对包的依赖性太多而且它不允许我删除它所以我使用rpm代替:
rpm -r --nodeps --force lua
它删除了Lua。然后我建立了自己的。然而yum从现在开始崩溃,每次我运行yum(如果是yum install或yum list,或者只是yum都没关系),它给了我
error:There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
liblua-5.1.so: 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.7.3 (default, Aug 9 2012, 17:23:57)
[GCC 4.7.1 20120720 (Red Hat 4.7.1-5)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
我甚至无法安装lua,因为它不允许我运行。rpm
也崩溃了:
rpm: error while loading shared libraries: liblua-5.1.so: cannot open shared object file: No such file or directory
我有一个版本的liblua-5.1.so,但我试图将符号链接放在/ usr / lib和/ usr / local / lib中,它仍然会出现此错误。请帮忙......我不想重新安装。