Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"go get" hanging on certain library

Tags:

go

I'm trying to get this lumberjack library and it always hangs on the download step.

I hit the same issue Friday and today. other Go packages install fine. I'm on Scientific Linux. Any ideas what could be going on?

>go get -u -v  gopkg.in/natefinch/lumberjack.v2
Fetching https://gopkg.in/natefinch/lumberjack.v2?go-get=1
Parsing meta tags from https://gopkg.in/natefinch/lumberjack.v2?go-get=1 (status code 200)
get "gopkg.in/natefinch/lumberjack.v2": found meta tag main.metaImport{Prefix:"gopkg.in/natefinch/lumberjack.v2", VCS:"git", RepoRoot:"https://gopkg.in/natefinch/lumberjack.v2"} at https://gopkg.in/natefinch/lumberjack.v2?go-get=1
gopkg.in/natefinch/lumberjack.v2 (download)

(It hangs on last line, I've let it run for 20 minutes so far.)

like image 862
Greg Avatar asked Apr 27 '15 12:04

Greg


1 Answers

Thanks @Jimb. Upgrading git to a newer version fixed the issue.

like image 77
Greg Avatar answered Oct 17 '22 18:10

Greg