tfournier / gvm

Simple Go Version Manager
MIT License
1 stars 1 forks source link

Cannot download Go from Google #3

Open ducminhgd opened 4 years ago

ducminhgd commented 4 years ago

I installed from snap for Ubuntu Budgie 20.04, and run command gvm install 1.11 and get this issue

Downloading https://dl.google.com/go/go1.11.linux-amd64.tar.gz... failed
Error: Get https://dl.google.com/go/go1.11.linux-amd64.tar.gz: dial tcp: lookup dl.google.com on [::1]:53: dial udp [::1]:53: socket: permission denied
jalkjaer commented 4 years ago

I have made PR #4 to fix this.

krichter722 commented 1 year ago

I'm still having this issue with 2019-04-17 (19) installed with `snap on Ubuntu 23.10. It seem that the issue is not so much the URL but missing permissions to access the name server inside the snap sandbox. At least that's my guess.

I could test with 1.1.1 and it'd be easy if it was released for snap.