go get gopkg.in/mgo.v2 (not responding)

207 views
Skip to first unread message

Pablo Rozas-Larraondo

unread,
May 25, 2015, 8:38:18 PM5/25/15
to mgo-...@googlegroups.com
I'm trying to install mgo in a brand new CentOS cloud instance. I have no problems installing other packages but I get no response whith packages hosted in gopkg.in 
I've tried to install mgo from a different machine and works perfectly.

Anyone has experience a similar problem or can think about a way of finding out what "go get" is waiting for?

Thanks for your help,
Pablo

Pablo Rozas-Larraondo

unread,
May 26, 2015, 12:47:49 AM5/26/15
to mgo-...@googlegroups.com
After some more thinking about what the problem might be I have used "go get -x" to see the sequence of commands. The script was getting stuck at:


The problem was that my system had an old version of git 1.7.x and it was not doing the redirection to https://github.com/go-mgo/mgo.git where the code is.

So, if anyone happens to have a similar problem, it might be related with an old git version installed in your system.

Cheers
Reply all
Reply to author
Forward
0 new messages