Pkg.update() inside Julia

94 views
Skip to first unread message

Alejandro José C. Somoza

unread,
Mar 27, 2015, 3:39:37 PM3/27/15
to julia...@googlegroups.com
I run  Pkg.update() and obtain:

INFO: Initializing package repository C:\Users\asomoza\.julia\v0.3
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
fatal: unable to connect to github.com:
github.com[0: 192.30.252.130]: errno=No error

ERROR: failed process: Process(`git clone -q -b metadata-v2 git://github.com/Juli
aLang/METADATA.jl METADATA`, ProcessExited(128)) [128]
 in error at error.jl:22
 in run at process.jl:479
 in anonymous at pkg/dir.jl:46
 in cd at file.jl:30
 in init at pkg/dir.jl:44

I have a proxy, is any other setting necessary ????


SixString

unread,
Mar 27, 2015, 4:08:04 PM3/27/15
to julia...@googlegroups.com
I see the same error when my firewall blocks git and julia.

danie...@gmail.com

unread,
Mar 27, 2015, 4:19:41 PM3/27/15
to julia...@googlegroups.com
I had the same issue trying to use Pkg behind a firewall.  I ended up changing my git config with the following command:

git config --global url."https://github.com".insteadOf git://github.com
Reply all
Reply to author
Forward
0 new messages