lua-zlib icon indicating copy to clipboard operation
lua-zlib copied to clipboard

Can't install - The unauthenticated git protocol on port 9418 is no longer supported

Open jclusso opened this issue 3 years ago • 2 comments

I'm getting this while trying to install.

> luarocks install lua-zlib 1.2-1;
Installing https://luarocks.org/lua-zlib-1.2-1.rockspec
Cloning into 'lua-zlib'...
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

Error: Failed cloning git repository.
root@millipede:~# luarocks install lua-zlib
Installing https://luarocks.org/lua-zlib-1.2-1.rockspec
Cloning into 'lua-zlib'...
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

jclusso avatar Mar 17 '22 18:03 jclusso

I believe this line of the file:

https://github.com/brimworks/lua-zlib/blob/master/rockspecs/lua-zlib-1.2-1.rockspec#L4

...needs to be updated as such:

url = "git+https://github.com/brimworks/lua-zlib.git"

A similar issue was pointed out here:

https://github.com/brimworks/lua-ev/pull/30/files

You should be able to download the rockspec file and make the change, then run the luarocks command to install from a local rockspec file to try it out. If that works, a PR is appreciated.

Thanks!

brimworks avatar Mar 17 '22 18:03 brimworks

Hello. I've already done PR https://github.com/brimworks/lua-zlib/pull/58 . plz take a look

vadym-panchuk avatar Mar 27 '22 11:03 vadym-panchuk