On Jan 22, 2011, at 4:10 PM, Gunnar Zötl wrote:
> I had a strange occurrence with luarocks 2.0.4.1. I wanted to upgrade my 
> ltcltk package locally and in order to do that, I wanted to remove the 
> previous version. "luarocks remove ltcltk" should have done that, but while 
> doing its thing, it complained about the package nixio, which I also have 
> installed, looking like this:
> 
> [...]

> Removing ltcltk 0.9-1...
> 
> Error: rock_manifest file not found for ltcltk 0.9-1 - not a LuaRocks 2 tree?
> 
> Very strange, indeed... I shound probably mention that both modules have been 
> installed with luarocks 2. I have no idea what's wrong here. Any way I can 
> fix this without uninstalling and reinstalling everything?


There was a bug in luarocks 2.0.3 that left extraneous EOL characters within 
MD5 strings in manifests.

Try cat $(luarocks show ltcltk --rock-dir)/rock_manifest

and the same for other rocks and see if there are strangely formatted MD5 
strings in the manifests.

I was able to fix the problem by manually editing the manifests and removing 
the extraneous newlines.

This defect was fixed in luarocks 2.0.4.

e


_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to