luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
175 stars 38 forks source link

fail to install latest version of penlight #165

Open jiangrzh opened 3 years ago

jiangrzh commented 3 years ago

the latest version of penlight is 1.8.1-1:

 luarocks search penlight

penlight - Search results for Lua 5.3:
======================================

Rockspecs and source rocks:
---------------------------

penlight
   1.8.1-1 (rockspec) - https://luarocks.org
   1.8.1-1 (src) - https://luarocks.org
   1.8.0-1 (rockspec) - https://luarocks.org

but luarocks was fail to download this version:


[jenkins@localhost ~]$ luarocks install penlight
Installing https://luarocks.org/penlight-1.8.1-1.src.rock

Error: Could not fetch rock file: Error fetching file: Failed downloading https://luarocks.org - Failed downloading https://luarocks.org/penlight-1.8.1-1.src.rock - /home/jenkins/.cache/luarocks/https___luarocks.org/penlight-1.8.1-1.src.rock

it's can install 1.8.0-1

leafo commented 3 years ago

Are you sure the luarocks you have installed on your jenkins machine is using the same lua version as the one you used to complete the search? Run luarocks with no arguments and it will tell you the version.