Pkg.update() fails


#1

I am having trouble getting julia to update on Ubuntu 18.04 running in WSL on Windows 10 version 1709. Pkg.update() takes a few minutes to return the following error. Any ideas would be greatly appreciated.

_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: https://docs.julialang.org
_ _ | | __ _ | Type “?help” for help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 0.6.3 (2018-05-28 20:20 UTC)
/ |_|||_’_| | Official http://julialang.org/ release
|__/ | x86_64-pc-linux-gnu

julia> Pkg.update()
INFO: Initializing package repository /home/pgurman/.julia/v0.6
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:SSL, SSL error: ffffffff - UNKNOWN ERROR CODE (0001))
Stacktrace:
[1] macro expansion at ./libgit2/error.jl:99 [inlined]
[2] clone(::String, ::String, ::Base.LibGit2.CloneOptions) at ./libgit2/reposit ory.jl:276
[3] #clone#100(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractC redentials}, ::Function, ::String, ::String) at ./libgit2/libgit2.jl:562
[4] (::Base.LibGit2.#kw##clone)(::Array{Any,1}, ::Base.LibGit2.#clone, ::String , ::String) at ./:0
[5] (::Base.Pkg.Dir.##8#10{String,String})() at ./pkg/dir.jl:55
[6] cd(::Base.Pkg.Dir.##8#10{String,String}, ::String) at ./file.jl:70
[7] init(::String, ::String) at ./pkg/dir.jl:53
[8] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N} whe re N) at ./pkg/dir.jl:28
[9] update() at ./pkg/pkg.jl:228


#2

Maybe it is related to this problem (with solution):

Error message is not quite the same but maybe it is because of the WSL environment that it shows only UNKNOWN ERROR.


#3

Perhaps, but if that was true, i would expect the Julia install i have on Windows 10 using Windows binaries to also be having update troubles. Its only a problem on WSL, It must be a WSL problem, but i don’t know what the question to ask of the WSL people.