Pkg.update() error, 0.4.6

104 views
Skip to first unread message

Liye zhang

unread,
Aug 23, 2016, 8:52:35 PM8/23/16
to julia-users
When I run Pkg.update(), I got the following error:

fata;: read error: Invalid argument
 ERROR: failed process: Process('git pull --rebase -q', ProcessExited(1)) [1] in pipeline_error at process.jl:555

windows 7, Julia0.4.6

Liye zhang

unread,
Aug 27, 2016, 3:20:32 AM8/27/16
to julia-users
Julia and its packages are installed using the network at my home. When I try to install new package using the network in my company, there are errors as mentioned above.

When I update using the network at home, there is no error.  So, is this error caused by the change of the IP, which would be used by git of Julia package system ?

This error occurred many times. Could anyone give me some help? 

Andreas Lobinger

unread,
Aug 27, 2016, 5:45:21 AM8/27/16
to julia-users
Hello colleague,


On Saturday, August 27, 2016 at 9:20:32 AM UTC+2, Liye zhang wrote:
Julia and its packages are installed using the network at my home. When I try to install new package using the network in my company, there are errors as mentioned above.

When I update using the network at home, there is no error.  So, is this error caused by the change of the IP, which would be used by git of Julia package system ?

This error occurred many times. Could anyone give me some help?

company networks usually are firewalled and proxied to the outside internet. So it's not the change of IP only.
You can check, if running
git config --global url."https://<GITUSERNAME>@".insteadOf git://

on a shell solves this for you (it did for me)

Liye zhang

unread,
Aug 27, 2016, 11:24:29 PM8/27/16
to julia-users
Andreas, thank you so much!

It is caused by the firewall. 
Reply all
Reply to author
Forward
0 new messages