# Cant install OpenSpecFun\_jll

**URL:** https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593
**Category:** General Usage
**Created:** [January 20, 2020, 4:48pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593 "2020-01-20T16:48:32Z")
**Posts on this page:** 11
**Page:** 3

<div class="post-metadata">

### Author: ![jkwwwwow](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jkwwwwow](https://discourse.julialang.org/u/jkwwwwow)
#### Post date: [June 11, 2020, 5:24am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/44 "2020-06-11T05:24:01Z")

</div>

ok, thanks for your reply!

---

<div class="post-metadata">

### Author: ![jkwwwwow](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jkwwwwow](https://discourse.julialang.org/u/jkwwwwow)
#### Post date: [June 11, 2020, 7:04am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/45 "2020-06-11T07:04:48Z")

</div>

@giordano  
I met the following error, could you help me to fix this?

```julia
ERROR: Unable to automatically install 'OpenBLAS' from '/home/jkwwwwow/.julia/packages/OpenBLAS_jll/rnsmb/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:616
 [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:595
 [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:1091
 [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 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109 [inlined]
 [11] #add#24 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:107 [inlined]
 [12] add at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:107 [inlined]
 [13] add(::String; 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:106
 [14] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106
 [15] top-level scope at REPL[2]:1 

```

---

<div class="post-metadata">

### Author: ![jkwwwwow](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jkwwwwow](https://discourse.julialang.org/u/jkwwwwow)
#### Post date: [June 11, 2020, 7:38am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/46 "2020-06-11T07:38:32Z")

</div>

By the way, do you know how to obtain the hash tree number to specific package?

---

<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: [June 11, 2020, 9:41am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/47 "2020-06-11T09:41:29Z")

</div>

Try this in a REPL _to debug_ the issue:

```julia
]add https://github.com/giordano/DebugArtifacts.jl.git
using DebugArtifacts
debug_artifact("OpenBLAS")

```

Please copy here the output of the last command

---

<div class="post-metadata">

### Author: ![Fritz\_Ratnasamy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fritz_ratnasamy/32/13715_2.png) [@Fritz\_Ratnasamy](https://discourse.julialang.org/u/Fritz_Ratnasamy)
#### Post date: [June 11, 2020, 10:06pm UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/48 "2020-06-11T22:06:52Z")

</div>

I usually get the hash tree number in the error message when you get the mismatch hash tree error. Otherwise I do not know

---

<div class="post-metadata">

### Author: ![jkwwwwow](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jkwwwwow](https://discourse.julialang.org/u/jkwwwwow)
#### Post date: [June 12, 2020, 1:06am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/49 "2020-06-12T01:06:20Z")

</div>

I got this error message:

```julia
julia> using DebugArtifacts
[Info: Precompiling DebugArtifacts [4f05f810-3073-4646-a23d-fd50056b1323]

julia> debug_artifact("OpenBLAS")
[ Info: Platform: Linux(:x86_64, libc=:glibc, compiler_abi=CompilerABI(libgfortran_version=v"4.0.0", cxxstring_abi=:cxx11))
Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
 OS: Linux (x86_64-pc-linux-gnu)
 CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
 WORD_SIZE: 64
 LIBM: libopenlibm
 LLVM: libLLVM-8.0.1 (ORCJIT, skylake)

[ Info: Downloading Artifacts.toml to /tmp/jl_NEi5Nn/Artifacts.toml...
##O#- #                                                                       
curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接
ERROR: Could not download https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml to /tmp/jl_NEi5Nn/Artifacts.toml:
ProcessFailedException(Base.Process[Process(`curl -C - '-#' -f -o /tmp/jl_NEi5Nn/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml`, ProcessExited(7))])
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/PlatformEngines.jl:853
[3] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String})(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
[4] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String}, ::String; prefix::String) at ./file.jl:682
[5] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
[6] debug_artifact(::String, ::Pkg.BinaryPlatforms.Linux) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
[7] debug_artifact(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
[8] top-level scope at REPL[5]:1
caused by [exception 1]
failed process: Process(`curl -C - '-#' -f -o /tmp/jl_NEi5Nn/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml`, ProcessExited(7)) [7]

Stacktrace:
[1] pipeline_error at ./process.jl:525 [inlined]
[2] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}; wait::Bool) at ./process.jl:440
[3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:438
[4] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/PlatformEngines.jl:848
[5] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String})(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
[6] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String}, ::String; prefix::String) at ./file.jl:682
[7] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
[8] debug_artifact(::String, ::Pkg.BinaryPlatforms.Linux) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
[9] debug_artifact(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
[10] top-level scope at REPL[5]:1

```

What to do next?

---

<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: [June 12, 2020, 1:19am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/50 "2020-06-12T01:19:23Z")

</div>

> [@jkwwwwow](#):
>
> ```julia
> curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接
> 
> ```

Is GitHub blocked for you?

Since you use Julia v1.4, you can try using PkgServer. Set the following environment variable

```sh
export JULIA_PKG_SERVER=https://geo.pkg.julialang.org

```

in your shell and restart Julia. If this works, add this setting in the init file of your shell to make it persistent

---

<div class="post-metadata">

### Author: ![jkwwwwow](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jkwwwwow](https://discourse.julialang.org/u/jkwwwwow)
#### Post date: [June 12, 2020, 2:54am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/52 "2020-06-12T02:54:39Z")

</div>

Still unable to connect to GitHub, the error message is the same as before:

```julia
(gymlab) jkwwwwow@jkwwwwow:~$ export JULIA_PKG_SERVER=https://geo.pkg.julialang.org
(gymlab) jkwwwwow@jkwwwwow:~$ julia
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.4.2 (2020-05-23)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> using DebugArtifacts;debug_artifact("OpenBLAS")
[ Info: Platform: Linux(:x86_64, libc=:glibc, compiler_abi=CompilerABI(libgfortran_version=v"4.0.0", cxxstring_abi=:cxx11))
Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
  JULIA_PKG_SERVER = https://geo.pkg.julialang.org

[ Info: Probing for download engine...
[ Info: Probing curl as a possibility...
[ Info: Probe successful for curl
[ Info: Found download engine curl
[ Info: Probing for compression engine...
[ Info: Probing tar as a possibility...
[ Info: Probe successful for tar
[ Info: Found compression engine tar
[ Info: Downloading Artifacts.toml to /tmp/jl_wiZp5B/Artifacts.toml...
#=#=#                                                                         
curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接
ERROR: Could not download https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml to /tmp/jl_wiZp5B/Artifacts.toml:
ProcessFailedException(Base.Process[Process(`curl -C - '-#' -f -o /tmp/jl_wiZp5B/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml`, ProcessExited(7))])
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/PlatformEngines.jl:853
 [3] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String})(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
 [4] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String}, ::String; prefix::String) at ./file.jl:682
 [5] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
 [6] debug_artifact(::String, ::Pkg.BinaryPlatforms.Linux) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
 [7] debug_artifact(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
 [8] top-level scope at REPL[1]:1
caused by [exception 1]
failed process: Process(`curl -C - '-#' -f -o /tmp/jl_wiZp5B/Artifacts.toml -L https://raw.githubusercontent.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/master/Artifacts.toml`, ProcessExited(7)) [7]

Stacktrace:
 [1] pipeline_error at ./process.jl:525 [inlined]
 [2] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}; wait::Bool) at ./process.jl:440
 [3] run(::Cmd, ::Tuple{Base.DevNull,Base.TTY,Base.TTY}) at ./process.jl:438
 [4] download(::String, ::String; verbose::Bool, auth_header::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/PlatformEngines.jl:848
 [5] (::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String})(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:57
 [6] mktempdir(::DebugArtifacts.var"#3#4"{String,Pkg.BinaryPlatforms.Linux,String}, ::String; prefix::String) at ./file.jl:682
 [7] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
 [8] debug_artifact(::String, ::Pkg.BinaryPlatforms.Linux) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:53
 [9] debug_artifact(::String) at /home/jkwwwwow/.julia/packages/DebugArtifacts/VcVh2/src/DebugArtifacts.jl:43
 [10] top-level scope at REPL[1]:1 

```

Can I install this pkg manually? Since it can’t be installed automatically, just like the Fritz\_Ratnasamy do as previous massages on this thread. But I’m not sure where should I unzip this downloaded pkg, he just show how to install the OpenSpecFun\_jll manually. What about the others?

---

<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: [June 12, 2020, 4:37am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/53 "2020-06-12T04:37:56Z")

</div>

Can you try to install the package like you did before now? DebugArtifacts.jl is only to understand what’s the problem, which should be clear now: you can’t access some parts of GitHub

---

<div class="post-metadata">

### Author: ![jkwwwwow](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jkwwwwow](https://discourse.julialang.org/u/jkwwwwow)
#### Post date: [June 12, 2020, 8:37am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/56 "2020-06-12T08:37:47Z")

</div>

Thanks for your suggestion, I have solved the installation problem I encountered when using the command `Pkg.add()`, although I don’t know why it works.  
When I try to reinstall Julia according to the method [here](https://ferrolho.github.io/blog/2019-01-26/how-to-install-julia-on-ubuntu), I found that the last two steps of the installation part I did not do before. So I just added those two commands in the terminal  
`sudo cp -r julia-1.4.2 /opt/`  
`sudo ln -s /opt/julia-1.4.2/bin/julia /usr/local/bin/julia`  
and then it can automatically install the packages I need.

---

<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: [June 12, 2020, 9:45am UTC](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593/57 "2020-06-12T09:45:35Z")

</div>

> [@jkwwwwow](#):
>
> I have solved the installation problem I encountered when using the command `Pkg.add()` , although I don’t know why it works.

That was the whole point of using PkgServer

[Previous page](https://discourse.julialang.org/t/cant-install-openspecfun-jll/33593.md?page=2)
