Programming Language/Go

[Go] Gin 설치 에러

깜태 2022. 2. 17. 11:47
728x90

요약 : Golang 1.17 을 설치하면 깔끔하게 해결된다.

https://nextgentips.com/2021/12/11/how-to-install-go-1-17-on-ubuntu-20-04/

 

 

나의 경우 apt-get install golang 설치 시, 1.13 버전으로 설치되서 진행했을 때 생긴 문제였다.

 

 

1.  package gopkg.in/yaml.v2: exit status 128

ca-certificates 라는 리눅스에서 인증 문제로 생기는 에러로, 다음의 내용을 추가하면 된다고 해서 해봤더니,
다음 에러가 생겼다.

 

sudo apt-get update && sudo apt-get install ca-certificates libgnutls30 -y

2. /root/go/src/golang.org/x/net/http2/transport.go:417:45: undefined: os.ErrDeadlineExceeded

Go 언어를 업데이트하면 해결된다.

 

 

참고

https://stackoverflow.com/questions/69420529/app-engine-deploy-failing-with-fatal-unable-to-access-https-gopkg-in-yaml-v

 

App Engine deploy failing with "fatal: unable to access 'https://gopkg.in/yaml.v3/': server certificate verification failed."

Anyone else getting this issue when deploying Go/Other projects to the App Engine? Deployment was working fine on Tuesday, Sept 28. I tried to deploy on Friday, Oct 1 (yesterday) and today, but I s...

stackoverflow.com

https://github.com/odeke-em/drive/issues/1128

https://fostips.com/install-latest-golang-ubuntu/

728x90