【发布时间】:2017-01-17 06:22:33
【问题描述】:
我使用的是 CentOS7;尝试下载 golang 1.5.1 二进制文件和yum install golang,并在安装 revel 时遇到同样的问题。 Go 工作正常;当我执行go version 时,它会显示正确的版本。
当我输入go get -v github.com/revel/revel 时,一些软件包下载得很好......直到它进入 fsnotify。然后我得到这个输出:
Fetching https://gopkg.in/fsnotify.v1?go-get=1
Parsing meta tags from https://gopkg.in/fsnotify.v1?go-get=1 (status code 200)
get "gopkg.in/fsnotify.v1": found meta tag main.metaImport{Prefix:"gopkg.in/fsnotify.v1", VCS:"git", RepoRoot:"https://gopkg.in/fsnotify.v1"} at https://gopkg.in/fsnotify.v1?go-get=1
gopkg.in/fsnotify.v1 (download)
它只是冻结。无论我尝试什么,它都不会将任何内容下载到src/gopkg.in/fsnotify。 src/github.com 和 src/golang.org 中的文件被拉取就好了。我已经确定我能够卷曲到http://gopkg.in 和https://gopkg.in,所以它看起来不像是 SSLv3 问题。
有什么想法吗?
【问题讨论】:
-
问题已解决:git 是旧版本。我已经尝试了一切,但没有启用 rpmforge;默认的 CentOS 基础存储库是 1.7.1。我升级了 git 并从源代码编译 - 用于 sh*ts 和咯咯笑 - 瞧。固定的。天哪!