# Pkg.update() in V0.5.0

**URL:** <https://discourse.julialang.org/t/pkg-update-in-v0-5-0/504>\
**Category:** General Usage\
**Created:** [November 22, 2016, 6:59pm UTC](https://discourse.julialang.org/t/pkg-update-in-v0-5-0/504 "2016-11-22T18:59:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehughes](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@ehughes](https://discourse.julialang.org/u/ehughes)\
**Post date:** [November 22, 2016, 6:59pm UTC](https://discourse.julialang.org/t/pkg-update-in-v0-5-0/504/1 "2016-11-22T18:59:38Z")

</div>

I installed V0.5.0 of Julia. When I run a `Pkg.Update()` I get:

Note that I also have 0.4.6 install and do not get this error. I can add packages and update, etc.

```julia
julia> Pkg.update()
INFO: Initializing package repository Z:\.julia\v0.5
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:OS, Failed to set proxy: The parameter is incorrect.
)
 in macro expansion at .\libgit2\error.jl:99 [inlined]
 in clone(::String, ::String, ::Base.LibGit2.CloneOptions) at .\libgit2\repository.jl:191
 in #clone#109(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractCredentials}, ::Function, ::String, ::String) at .\libgit2\libgit2.jl:327
 in (::Base.LibGit2.#kw##clone)(::Array{Any,1}, ::Base.LibGit2.#clone, ::String, ::String) at .\<missing>:0
 in (::Base.Pkg.Dir.##4#6{String,String})() at .\pkg\dir.jl:49
 in cd(::Base.Pkg.Dir.##4#6{String,String}, ::String) at .\file.jl:48
 in init(::String, ::String) at .\pkg\dir.jl:47
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at .\pkg\dir.jl:28
 in update() at .\pkg\pkg.jl:210

```

---

<div class="post-metadata">

**Author:** ![tkelman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkelman/32/692_2.png) [@tkelman](https://discourse.julialang.org/u/tkelman)\
**Post date:** [November 23, 2016, 3:53am UTC](https://discourse.julialang.org/t/pkg-update-in-v0-5-0/504/2 "2016-11-23T03:53:49Z")

</div>

Do you have any proxy-related environment variables set?

---

<div class="post-metadata">

**Author:** ![ehughes](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@ehughes](https://discourse.julialang.org/u/ehughes)\
**Post date:** [November 23, 2016, 5:43pm UTC](https://discourse.julialang.org/t/pkg-update-in-v0-5-0/504/3 "2016-11-23T17:43:23Z")

</div>

There are no environment variables set. A couple other details.

1.) Julia 0.4.6 works fine  
2.) I am using Windows 10  
3.) git works OK otherwise.  
4.) I setup Julia running in a VM (windows 10) on the same machine and Pkg.update() worked.

---

<div class="post-metadata">

**Author:** ![ehughes](https://avatars.discourse-cdn.com/v4/letter/e/59ef9b/32.png) [@ehughes](https://discourse.julialang.org/u/ehughes)\
**Post date:** [November 24, 2016, 3:06pm UTC](https://discourse.julialang.org/t/pkg-update-in-v0-5-0/504/4 "2016-11-24T15:06:19Z")

</div>

One other note:

I brought my laptop home and am now able to update packages, etc. It is definitely something to do with the network at the university lab. I have to log into a Windows Domain. There could be some some firewall policy that trickles down. When I get back in I will try the latest nightly to see if it is different.

The fact that 0.4.3 works means there is some sort of regression in 0.5.0
