Install hangs

37 views
Skip to first unread message

leam hall

unread,
Dec 21, 2016, 6:29:30 AM12/21/16
to mgo-users
Could use some help installing mgo.

Environment:  
Linux CentOS 6, Go 1.7.4 downloaded and installed last night. I can run simple Go programs.

[leam@shaphan ~]$ env | grep GO
GOROOT=/usr/local/go
GOPATH=/home/leam/lang/go

When I run:


It hangs and I can see this on the process list:

leam      7033  6375  1 06:27 pts/0    00:00:00 go get gopkg.in/mgo.v2
leam      7045  7033  0 06:27 pts/0    00:00:00 git clone https://gopkg.in/mgo.v2 /home/leam/lang/go/src/gopkg.in/mgo.v2
leam      7046  7045  2 06:27 pts/0    00:00:00 git-remote-https https://gopkg.in/mgo.v2 https://gopkg.in/mgo.v2
leam      7048  7046  0 06:27 pts/0    00:00:00 git fetch-pack --stateless-rpc --lock-pack --thin --no-progress https://gopkg.in/mgo.v2  efs/heads/master  efs/heads/is-dup-retry-fix  efs/heads/v2  efs/heads/v2-unstable  efs/tags/go.2011-08-17  efs/tags/go.r59  efs/tags/go.r60  efs/tags/go.weekly.2011-12-14  efs/tags/go.weekly.2012-01-20  efs/tags/r2011-03-15  efs/tags/r2011-03-17  efs/tags/r2011-03-20  efs/tags/r2011-03-24  efs/tags/r2011.03.15  efs/tags/r2011.03.17  efs/tags/r2011.03.20  efs/tags/r2011.03.24  efs/tags/r2011.04.09  efs/tags/r2011.04.13  efs/tags/r2011.04.19  efs/tags/r2011.04.24  efs/tags/r2011.04.28  efs/tags/r2011.05.12  efs/tags/r2011.05.24  efs/tags/r2011.06.24  efs/tags/r2011.07.15  efs/tags/r2011.07.28  efs/tags/r2011.08.02  efs/tags/r2011.08.21  efs/tags/r2011.09.15  efs/tags/r2011.10.29  efs/tags/r2011.12.18  efs/tags/r2012.01.22  efs/tags/r2012.02.02  efs/tags/r2012.03.04  efs/tags/r2012.04.08  efs/tags/r2012.05.21  efs/tags/r2012.06.22  efs/tags/r2012.08.07  efs/tags/r2012.08.22  efs/tags/r2012.08.23  efs/tags/r2012.09.05  efs/tags/r2012.10.04  efs/tags/r2012.10.28  efs/tags/r2013.01.20  efs/tags/r2013.04.05  efs/tags/r2013.04.11  efs/tags/r2013.05.19  efs/tags/r2013.07.21  efs/tags/r2013.09.04  efs/tags/r2013.11.18  efs/tags/r2014.01.25  efs/tags/r2014.03.12  efs/tags/r2014.07.21  efs/tags/r2014.10.12  efs/tags/r2015.01.24  efs/tags/r2015.05.29  efs/tags/r2015.06.03  efs/tags/r2015.10.05  efs/tags/r2015.12.06  efs/tags/r2016.02.04  efs/tags/r2016.08.01





leam hall

unread,
Dec 25, 2016, 7:53:04 AM12/25/16
to mgo-users
Created a new user on the same machine, same issue. So it's not my git setup. The machine can git other projects and stuff easily.

leam hall

unread,
Dec 25, 2016, 8:00:46 AM12/25/16
to mgo-users
Trying with -v gives the same fetch-pack error.

[leam@shaphan go]$ go get -v gopkg.in/mgo.v2
Parsing meta tags from https://gopkg.in/mgo.v2?go-get=1 (status code 200)
get "gopkg.in/mgo.v2": found meta tag main.metaImport{Prefix:"gopkg.in/mgo.v2", VCS:"git", RepoRoot:"https://gopkg.in/mgo.v2"} at https://gopkg.in/mgo.v2?go-get=1
gopkg.in/mgo.v2 (download)




On Wednesday, December 21, 2016 at 6:29:30 AM UTC-5, leam hall wrote:

Gustavo Niemeyer

unread,
Jan 9, 2017, 5:34:39 AM1/9/17
to mgo-...@googlegroups.com
This is caused by an old release of git (5+ years old).  Try to update git and the problem should go away.

--
You received this message because you are subscribed to the Google Groups "mgo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mgo-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages