“去得到”挂在某些图书馆 [英] "go get" hanging on certain library

查看:125
本文介绍了“去得到”挂在某些图书馆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我周五和今天都遇到了同样的问题。

我试图获得这个伐木工库,它总是挂在下载步骤上。其他Go包安装正常。我在Scientific Linux上。任何想法可能会发生什么?

 > go get -u -v gopkg.in /natefinch/lumberjack.v2 
获取https://gopkg.in/natefinch/lumberjack.v2?go-get=1
从https://gopkg.in/natefinch/lumberjack解析元标记。 v2?go-get = 1(状态码200)
获取gopkg.in/natefinch/lumberjack.v2:找到元标记main.metaImport {前缀:gopkg.in/natefinch/lumberjack.v2, VCS:git,RepoRoot:https://gopkg.in/natefinch/lumberjack.v2},地址为https://gopkg.in/natefinch/lumberjack.v2?go-get=1
gopkg。 in / natefinch / lumberjack.v2(下载)

(它挂在最后一行,我让它至今运行了20分钟。)

解决方案

谢谢@Jimb。将git升级到新版本修复了问题。


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.)

解决方案

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

这篇关于“去得到”挂在某些图书馆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆