YUM and RPM crash due to the liblua-5.1 library being missing

Posted by A troubled linux newbie. on Super User See other posts from Super User or by A troubled linux newbie.
Published on 2013-11-01T20:35:12Z Indexed on 2013/11/01 21:58 UTC
Read the original article Hit count: 219

Filed under:
|
|
|
|

I've been playing around with a LiveUsb install of basic Fedora with persistence. I attempted to install moonscript, which requires Lua and LuaRocks. After installing Lua and discovering there were flaws in the install which prevented LuaRocks from working, I used rpm to force Lua off so I could use yum to re-install it. The result was an error of this sort being yielded by both rpm and yum:

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

I've concluded from this that my Lua version installed a library which both yum and rpm are now connected to. Is there anyway to fix this without reformatting my drive and installing everything from scratch?

© Super User or respective owner

Related posts about linux

Related posts about fedora