Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lbase64 version 20120820-1 dependency issue #909

Closed
opyate opened this issue Jan 28, 2016 · 4 comments
Closed

lbase64 version 20120820-1 dependency issue #909

opyate opened this issue Jan 28, 2016 · 4 comments

Comments

@opyate
Copy link
Contributor

opyate commented Jan 28, 2016

Here and elsewhere devs seem to have issues with installing lbase64 version 20120820-1.

I can see it listed on luarocks.org, but the CLI can't find it:

λ luarocks --server=http://rocks.moonscript.org search lbase64

Search results:
===============


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

lbase64
   20120807-3 (rockspec) - http://rocks.moonscript.org
   20120807-3 (rockspec) - https://luarocks.org
   20120807-1 (rockspec) - http://rocks.moonscript.org
   20120807-1 (src) - http://rocks.moonscript.org
   20120807-1 (rockspec) - https://luarocks.org
   20120807-1 (src) - https://luarocks.org
   20100323-1 (rockspec) - http://rocks.moonscript.org
   20100323-1 (src) - http://rocks.moonscript.org
   20100323-1 (rockspec) - https://luarocks.org
   20100323-1 (src) - https://luarocks.org
   20070628-1 (rockspec) - http://rocks.moonscript.org
   20070628-1 (src) - http://rocks.moonscript.org
   20070628-1 (rockspec) - https://luarocks.org
   20070628-1 (src) - https://luarocks.org

I asked on Lua IRC:

[10:43] <opyate> hey folks, I can see lbase64 version 20120820-1 here https://luarocks.org/modules/luarocks/lbase64/20120820-1, but "luarocks search lbase64" doesn't list it - what else can I try?
[10:49] <daurnimator> opyate: use basexx instead
[10:55] <zash> no, use "mime".b64 from luasocket instead

Please advise, thanks.

@thibaultcha
Copy link
Member

I can see it with the same command:

$ luarocks --server=http://rocks.moonscript.org search lbase64

Search results:
===============


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

lbase64
   20120820-1 (rockspec) - http://rocks.moonscript.org
   20120820-1 (src) - http://rocks.moonscript.org
   20120820-1 (rockspec) - https://luarocks.org
   20120820-1 (src) - https://luarocks.org
   20100323-1 (rockspec) - http://rocks.moonscript.org
   20100323-1 (src) - http://rocks.moonscript.org
   20100323-1 (rockspec) - https://luarocks.org
   20100323-1 (src) - https://luarocks.org
   20070628-1 (rockspec) - http://rocks.moonscript.org
   20070628-1 (src) - http://rocks.moonscript.org
   20070628-1 (rockspec) - https://luarocks.org
   20070628-1 (src) - https://luarocks.org

@opyate
Copy link
Contributor Author

opyate commented Jan 29, 2016

Is there some magic to luarocks that I don't understand?

I tried on my home network (before it was on corporate network):

λ luarocks --server=http://rocks.moonscript.org search lbase64

Search results:
===============


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

lbase64
   20120807-3 (rockspec) - http://rocks.moonscript.org
   20120807-3 (rockspec) - https://luarocks.org
   20100323-1 (rockspec) - http://rocks.moonscript.org
   20100323-1 (src) - http://rocks.moonscript.org
   20100323-1 (rockspec) - https://luarocks.org
   20100323-1 (src) - https://luarocks.org
   20070628-1 (rockspec) - http://rocks.moonscript.org
   20070628-1 (src) - http://rocks.moonscript.org
   20070628-1 (rockspec) - https://luarocks.org
   20070628-1 (src) - https://luarocks.org

Getting 3 less results, but also still no 20120820-1.

@thibaultcha Please send me your luarocks config and/or mirror list.

@opyate
Copy link
Contributor Author

opyate commented Jan 29, 2016

I found extra rocks_servers with this query, and added it to ~/.luarocks/config.lua:

rocks_servers={ 
  "http://luarocks.org/repositories/rocks";
  "http://luarocks.giga.puc-rio.br/";
  "http://rocks.moonscript.org";
} 

Now the query yields more results, plus the evasive lbase64 version:

λ luarocks search lbase64

Search results:
===============


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

lbase64
   20120820-1 (rockspec) - http://luarocks.giga.puc-rio.br
   20120820-1 (src) - http://luarocks.giga.puc-rio.br
   20120807-3 (rockspec) - http://luarocks.org/repositories/rocks
   20120807-3 (rockspec) - http://rocks.moonscript.org
   20120807-1 (rockspec) - http://luarocks.giga.puc-rio.br
   20120807-1 (src) - http://luarocks.giga.puc-rio.br
   20100323-1 (rockspec) - http://luarocks.org/repositories/rocks
   20100323-1 (src) - http://luarocks.org/repositories/rocks
   20100323-1 (rockspec) - http://luarocks.giga.puc-rio.br
   20100323-1 (src) - http://luarocks.giga.puc-rio.br
   20100323-1 (rockspec) - http://rocks.moonscript.org
   20100323-1 (src) - http://rocks.moonscript.org
   20070628-1 (rockspec) - http://luarocks.org/repositories/rocks
   20070628-1 (src) - http://luarocks.org/repositories/rocks
   20070628-1 (rockspec) - http://luarocks.giga.puc-rio.br
   20070628-1 (src) - http://luarocks.giga.puc-rio.br
   20070628-1 (rockspec) - http://rocks.moonscript.org
   20070628-1 (src) - http://rocks.moonscript.org

I'll create a separate PR for this to fix the "contributing" docs.

@mariuszkrzaczkowski
Copy link

mariuszkrzaczkowski commented Nov 17, 2021

did not work

debian@meet:~$ sudo luarocks search lbase64
Warning: Failed searching manifest: Failed fetching manifest for https://luarocks.giga.puc-rio.br/ - Failed downloading https://luarocks.giga.puc-rio.br/manifest - /root/.cache/luarocks/https___luarocks.giga.puc-rio.br_/manifest
Warning: Failed searching manifest: Failed fetching manifest for https://luarocks.logiceditor.com/rocks - Failed downloading https://luarocks.logiceditor.com/rocks/manifest - /root/.cache/luarocks/https___luarocks.logiceditor.com_rocks/manifest

Search results:
===============


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

lbase64
   20120807-3 (rockspec) - https://rocks.moonscript.org
   20120807-3 (src) - https://rocks.moonscript.org
   20120807-3 (rockspec) - https://luarocks.org/repositories/rocks
   20120807-3 (src) - https://luarocks.org/repositories/rocks
   20120807-3 (rockspec) - https://luarocks.org
   20120807-3 (src) - https://luarocks.org
   20120807-3 (rockspec) - https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master
   20120807-3 (src) - https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master
   20120807-3 (rockspec) - https://luafr.org/moonrocks
   20120807-3 (src) - https://luafr.org/moonrocks
   20120807-1 (rockspec) - https://rocks.moonscript.org
   20120807-1 (src) - https://rocks.moonscript.org
   20120807-1 (rockspec) - https://luarocks.org/repositories/rocks
   20120807-1 (src) - https://luarocks.org/repositories/rocks
   20120807-1 (rockspec) - https://luarocks.org
   20120807-1 (src) - https://luarocks.org
   20120807-1 (rockspec) - https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master
   20120807-1 (src) - https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master
   20120807-1 (rockspec) - https://luafr.org/moonrocks
   20120807-1 (src) - https://luafr.org/moonrocks
   20100323-1 (rockspec) - https://rocks.moonscript.org
   20100323-1 (src) - https://rocks.moonscript.org
   20100323-1 (rockspec) - https://luarocks.org/repositories/rocks
   20100323-1 (src) - https://luarocks.org/repositories/rocks
   20100323-1 (rockspec) - https://luarocks.org
   20100323-1 (src) - https://luarocks.org
   20100323-1 (rockspec) - https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master
   20100323-1 (src) - https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master
   20100323-1 (rockspec) - https://luafr.org/moonrocks
   20100323-1 (src) - https://luafr.org/moonrocks
   20070628-1 (rockspec) - https://rocks.moonscript.org
   20070628-1 (src) - https://rocks.moonscript.org
   20070628-1 (rockspec) - https://luarocks.org/repositories/rocks
   20070628-1 (src) - https://luarocks.org/repositories/rocks
   20070628-1 (rockspec) - https://luarocks.org
   20070628-1 (src) - https://luarocks.org
   20070628-1 (rockspec) - https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master
   20070628-1 (src) - https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master
   20070628-1 (rockspec) - https://luafr.org/moonrocks
   20070628-1 (src) - https://luafr.org/moonrocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants