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

[g] Installation package(/dl/go1.14.4.darwin-amd64.tar.gz) download failed ==> Get "/dl/go1.14.4.darwin-amd64.tar.gz": unsupported protocol scheme "" #33

Closed
yoloyi opened this issue Jul 2, 2020 · 4 comments

Comments

@yoloyi
Copy link

yoloyi commented Jul 2, 2020

g version 1.1.2
build: 2020-05-05T15:23:28+08:00
branch: master
commit: c243baa

$ echo $G_MIRROR;
https://golang.google.cn/dl/
 $ g install 1.14.4 
[g] Installation package(/dl/go1.14.4.darwin-amd64.tar.gz) download failed ==> Get "/dl/go1.14.4.darwin-amd64.tar.gz": unsupported protocol scheme ""

Hi
一直 install 都报这个错误,但是可以通过 g ls-remote 看到这个版本,报错信息如上 unsupported protocol scheme

@voidint
Copy link
Owner

voidint commented Jul 3, 2020

macos 64位的机器是吧?

@voidint
Copy link
Owner

voidint commented Jul 3, 2020

image

  • 原因就是网站调整了,下载地址从绝对路径改成了相对路径。
  • 我会去适配下。

@voidint
Copy link
Owner

voidint commented Jul 3, 2020

  • 我已经修复了,可以重新拉取下master分支并编译g。
  • 晚些时候我会release一个补丁版本1.1.3。

@yoloyi
Copy link
Author

yoloyi commented Jul 3, 2020

好的。谢谢

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

2 participants