Pkg.update fails with the following error.
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.6.1 (2017-10-24 22:15 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-w64-mingw32
julia> Pkg.update()
INFO: Updating METADATA...
ERROR: stat: unknown error (UNKNOWN)
Stacktrace:
[1] stat(::String) at .\stat.jl:69
[2] isdir at .\stat.jl:279 [inlined]
[3] available(::Array{String,1}) at .\pkg\read.jl:19
[4] update(::String, ::Set{String}) at .\pkg\entry.jl:383
[5] (::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}})() at .\pkg\dir.jl:36
[6] cd(::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}}, ::String) at .\file.jl:59
[7] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N} where N) at .\pkg\dir.jl:36
[8] update() at .\pkg\pkg.jl:228
julia>
Any idea how to fix this?