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

**URL:** <https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [May 23, 2020, 11:21am UTC](https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014 "2020-05-23T11:21:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dunky-star](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@dunky-star](https://discourse.julialang.org/u/dunky-star)\
**Post date:** [May 23, 2020, 11:21am UTC](https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014/1 "2020-05-23T11:21:00Z")

</div>

**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(R) Xeon(R) 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](http://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\>

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [May 23, 2020, 11:32am UTC](https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014/2 "2020-05-23T11:32:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dunky-star](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@dunky-star](https://discourse.julialang.org/u/dunky-star)\
**Post date:** [May 23, 2020, 6:15pm UTC](https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014/3 "2020-05-23T18:15:31Z")

</div>

Thanks Giordano.

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

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [May 23, 2020, 6:23pm UTC](https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014/4 "2020-05-23T18:23:07Z")

</div>

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:

```nohighlight
JULIA_PKG_SERVER=https://geo.pkg.julialang.org

```

---

<div class="post-metadata">

**Author:** ![dunky-star](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@dunky-star](https://discourse.julialang.org/u/dunky-star)\
**Post date:** [May 25, 2020, 3:08pm UTC](https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014/5 "2020-05-25T15:08:18Z")

</div>

> [@dunky-star](#):
>
> IJulia

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](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(R) Xeon(R) 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](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

~

---

<div class="post-metadata">

**Author:** ![Zehra112](https://avatars.discourse-cdn.com/v4/letter/z/aeb1de/32.png) [@Zehra112](https://discourse.julialang.org/u/Zehra112)\
**Post date:** [October 12, 2020, 7:50am UTC](https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014/6 "2020-10-12T07:50:33Z")

</div>

Hİ dunky-star, I have the same problem as yours, but I am using windows 10.  
So the only thing you did is, you wrote on Julia: JULIA\_PKG\_SERVER=“[https://geo.pkg.julialang.org](https://geo.pkg.julialang.org) 6”  
export JULIA\_PKG\_SERVER

And after, ]add IJulia ???

I am making the same thing but still getting the same error? Can you help me please how did you fix you issue

---

<div class="post-metadata">

**Author:** ![dunky-star](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@dunky-star](https://discourse.julialang.org/u/dunky-star)\
**Post date:** [October 13, 2020, 6:58am UTC](https://discourse.julialang.org/t/artifact-zstd-and-artifact-mbedtls-installation-failure-when-adding-packages-mat-and-ijulia-respectively/40014/7 "2020-10-13T06:58:26Z")

</div>

Hi, Zehar112  
I am using Linux (Ubuntu), it works after restarting Julia when below two lines are added to **.profile** file. I am not sure though which file to modify on Windows as I rarely use Windows.

JULIA\_PKG\_SERVER=“[https://geo.pkg.julialang.org](https://geo.pkg.julialang.org)”  
export JULIA\_PKG\_SERVER

NB: On Windows though, the best is to install Julia by **Chocolately** so that it helps with PATH management and offloads most of the manual configuration tasks from you.
