Hi!

Am 08.01.2014 06:39 schröbte Wouter Scherphof:
> Uhm, no, 5.2 actually.

I can confirm the problem.
Look at the modification date and/or contents of 
`~/.cache/luarocks/http___www.luarocks.org_repositories_rocks/manifest-5.2`. 
Mine was from 2013/10/28 and didn't list the newer set rockspecs. After 
renaming `manifest-5.2` an up-to-date version is unpacked and used, and 
the new rockspecs show up in a search. The zip files and timestamp files 
are recent, though.
Maybe the problem is that UNZIP is set to `unzip -n` which never 
overwrites existing files (changing `-n` to `-o` fixes the problem, but 
as the man page says: `-o` is a dangerous option ...). We should 
probably just remove the extracted manifest before trying to unpack the 
zip file.

Philipp


>
> While http://luarocks.org/repositories/rocks/ does list the different
> versions:
> [image: Inline afbeelding 1]
>
> The luarocks command only finds version 0.1 and 0.1.1:
>
> mbp-van-wouter:~ wsf$ lua -v
>
> Lua 5.2.2  Copyright (C) 1994-2013 Lua.org, PUC-Rio
>
> mbp-van-wouter:~ wsf$ sudo luarocks search set
>
>
> Search results:
>
> ===============
>
>
>
> Rockspecs and source rocks:
>
> ---------------------------
>
>
> set
>
>     0.1.1-1 (rockspec) - http://www.luarocks.org/repositories/rocks
>
>     0.1.1-1 (src) - http://www.luarocks.org/repositories/rocks
>
>     0.1-1 (rockspec) - http://www.luarocks.org/repositories/rocks
>
>     0.1-1 (src) - http://www.luarocks.org/repositories/rocks
>
> mbp-van-wouter:~ wsf$
>
>
> 2013/12/11 Hisham <h...@hisham.hm>
>
>> On 10 December 2013 10:15, Wouter Scherphof <wouter.scherp...@gmail.com>
>> wrote:
>>> Hum.. though I see the rockspec is there, luarocks can’t find it:
>>>
>>> MacBook-Pro-van-Wouter:tst wsf$ sudo luarocks install set 0.2
>>> Error: No results matching query were found.
>>
>> Strange, I don't get that. Maybe you're running luarocks using Lua
>> 5.1? (The dependencies are marked as 5.2-only)
>>
>> -- Hisham
>>



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to