asdf-community/asdf-golang

go1.17.7.darwin-arm64.tar.gz returned status 404 (not found)

Closed this issue · 8 comments

Describe the bug
I tried to install the 1.17.7 version from asdf golang plugin and got the message.

$ asdf install golang 1.17.7
Platform 'darwin' supported!
URL: https://dl.google.com/go/go1.17.7.darwin-arm64.tar.gz returned status 404

To Reproduce
Steps to reproduce the behavior:

  1. Run the install command

Expected behavior
OK result and the version listed by asdf list golang command

Same issue here, weird cuz the download urls seems exactly as the Google's official download page.

It looks like there is a bit of time between when a release is tagged and when it's actually available. I added a latest-stable script to avoid picking up a version that wasn't available yet, but I didn't change list-all to do a similar check. Shouldn't be too hard.

@willduarte or @dgalmeida I assume you can both install 1.17.7 now?

Yep! That works fine... Thanks for you job! By the way, to try an old version (< 1.16 ) leads to 404 also. Without saying that darwin-arm64 isn't compiled available before 1.16.

Yeah, I think I should probably do some sort of cache where I validate all of the combinations of arch, os, and version in order to eliminate those sorts of cases as well.

I get the same error when downloading 1.18.0 version:

» asdf install golang 1.18.0
Platform 'darwin' supported!
URL: https://dl.google.com/go/go1.18.0.darwin-amd64.tar.gz returned status 404

thanks @kennyp !
@matino try to install with asdf install golang 1.18

@willduarte that did the trick, thanks a lot!