Artifact: Zstd and artifact: MbedTLS installation failure when adding packages MAT and IJulia respectively

PyPlot get installed very well but MAT and IJulia are failed. Any idea?

julia> versioninfo()
Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel® Xeon® CPU L5408 @ 2.13GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, penryn)
Environment:
JULIA_HOME = /home/hadoop/opt/julia-1.4.1/

(@v1.4) pkg> add PyPlot
Updating registry at ~/.julia/registries/General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions…
Updating ~/.julia/environments/v1.4/Project.toml
[no changes]
Updating ~/.julia/environments/v1.4/Manifest.toml
[no changes]

(@v1.4) pkg> add IJulia
Resolving package versions…
Downloading artifact: MbedTLS
######################################################################## 100.0%-=O#-# # # curl: (28) Failed to connect to github-production-release-asset-2e65be.s3.amazonaws.com port 443: Connection timed out
ERROR: Unable to automatically install ‘MbedTLS’ from ‘/home/hadoop/.julia/packages/MbedTLS_jll/hP8le/Artifacts.toml’
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] ensure_artifact_installed(::String, ::Dict{String,Any}, ::String; platform::Pkg.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:894
[3] ensure_all_artifacts_installed(::String; platform::Pkg.BinaryPlatforms.Platform, pkg_uuid::Nothing, include_lazy::Bool, verbose::Bool, quiet_download::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:958
[4] download_artifacts(::Pkg.Types.Context, ::Array{String,1}; platform::Pkg.BinaryPlatforms.Linux, verbose::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:609
[5] download_artifacts(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; platform::Pkg.BinaryPlatforms.Linux, verbose::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:588
[6] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Linux) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1084
[7] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:159
[8] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:112
[9] #add#27 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109 [inlined]
[10] add(::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109
[11] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/REPLMode/REPLMode.jl:403
[12] do_cmd(::REPL.LineEditREPL, ::String; do_rethrow::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/REPLMode/REPLMode.jl:381
[13] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/REPLMode/REPLMode.jl:376 [inlined]
[14] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/REPLMode/REPLMode.jl:542
[15] #invokelatest#1 at ./essentials.jl:712 [inlined]
[16] invokelatest at ./essentials.jl:711 [inlined]
[17] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/REPL/src/LineEdit.jl:2354
[18] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:1055
[19] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:206
[20] (::Base.var"#764#766"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:383
[21] #invokelatest#1 at ./essentials.jl:712 [inlined]
[22] invokelatest at ./essentials.jl:711 [inlined]
[23] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:367
[24] exec_options(::Base.JLOptions) at ./client.jl:305
[25] _start() at ./client.jl:484

(@v1.4) pkg>

It looks like a GitHub issue to me. Try again?

Thanks Giordano.

Note that for now it has refused. I have been trying since yesterday and so disappointing due to unreliability issues.

Since you have Julia 1.4 you can try using the PkgServer, which lets you not go through GitHub. Set the following environment variable and restart Julia:

JULIA_PKG_SERVER=https://geo.pkg.julialang.org
2 Likes

Finally jubilation! I can now update packages after updating .profile with JULIA_PKG_SERVER as below in Ubuntu. Thanks a lot [giordano] for the belp.

JULIA_PKG_SERVER=“https://geo.pkg.julialang.org
export JULIA_PKG_SERVER

Result


Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel® Xeon® CPU L5408 @ 2.13GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, penryn)
Environment:
JULIA_PKG_SERVER = https://geo.pkg.julialang.org
JULIA_HOME = /home/hadoop/opt/julia/

(@v1.4) pkg> add IJulia
Cloning default registries into ~/.julia
######################################################################## 100.0%
Added registry General to ~/.julia/registries/General
Resolving package versions…
Installed SoftGlobalScope ─ v1.0.10
Installed ZMQ ───────────── v1.2.0
Installed Parsers ───────── v1.0.4
Installed MbedTLS_jll ───── v2.16.0+2
Installed VersionParsing ── v1.2.0
Installed MbedTLS ───────── v1.0.2
Installed IJulia ────────── v1.21.2
Installed Conda ─────────── v1.4.1
Installed ZeroMQ_jll ────── v4.3.2+3
Installed JSON ──────────── v0.21.0
Downloading artifact: MbedTLS
Downloading artifact: ZeroMQ
Updating ~/.julia/environments/v1.4/Project.toml
[7073ff75] + IJulia v1.21.2
Updating ~/.julia/environments/v1.4/Manifest.toml
[8f4d0f93] + Conda v1.4.1
[7073ff75] + IJulia v1.21.2
[682c06a0] + JSON v0.21.0
[739be429] + MbedTLS v1.0.2
[c8ffd9c3] + MbedTLS_jll v2.16.0+2
[69de0a69] + Parsers v1.0.4
[b85f4697] + SoftGlobalScope v1.0.10
[81def892] + VersionParsing v1.2.0
[c2297ded] + ZMQ v1.2.0
[8f1865be] + ZeroMQ_jll v4.3.2+3
[2a0f44e3] + Base64

~

1 Like