# Julia 1.6.0 packages installation

**URL:** <https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552>\
**Category:** Performance\
**Tags:** package\
**Created:** [April 4, 2021, 8:57am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552 "2021-04-04T08:57:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [April 4, 2021, 8:57am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/1 "2021-04-04T08:57:30Z")

</div>

How to solve this problem:  
Some packages have a happy installation and others do not!

```julia
(@v1.6) pkg> add Plots
    Updating registry at `C:\Users\hermesr\.julia\registries\General`
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:976
   Resolving package versions...
     Cloning [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] StatsBase from https://github.com/JuliaStats/StatsBase.jl.git
ERROR: failed to clone from https://github.com/JuliaStats/StatsBase.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg> add OhMyREPL
   Resolving package versions...
     Cloning [0796e94c-ce3b-5d07-9a54-7f471281c624] Tokenize from https://github.com/JuliaLang/Tokenize.jl.git
ERROR: failed to clone from https://github.com/JuliaLang/Tokenize.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg> add Roots
   Resolving package versions...
    Updating `C:\Users\hermesr\.julia\environments\v1.6\Project.toml`
  [f2b01f46] + Roots v1.0.8
    Updating `C:\Users\hermesr\.julia\environments\v1.6\Manifest.toml`
  [f2b01f46] + Roots v1.0.8
  Progress [========================================>] 1/1
1 dependency successfully precompiled in 7 seconds (1 already precompiled)

(@v1.6) pkg> add SpecialFunctions
   Resolving package versions...
     Cloning [34da2185-b29b-5c13-b0c7-acf172513d20] Compat from https://github.com/JuliaLang/Compat.jl.git
ERROR: failed to clone from https://github.com/JuliaLang/Compat.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)
(@v1.6) pkg> st
      Status `C:\Users\hermesr\.julia\environments\v1.6\Project.toml`
  [a8cc5b0e] Crayons v4.0.4
  [f2b01f46] Roots v1.0.8
  [ade2ca70] Dates
(@v1.6) pkg>

julia> VERSION
v"1.6.0"
julia> Sys.CPU_NAME
"ivybridge"
julia> Sys.KERNEL
:NT
julia> Sys.MACHINE
"x86_64-w64-mingw32"
julia> Sys.STDLIB
"C:\\Users\\hermesr\\AppData\\Local\\Programs\\Julia-1.6.0\\share\\julia\\stdlib\\v1.6"
julia> Sys.iswindows()
true

Z:\>NET CONFIG
The following running services can be controlled:

   Server
   Workstation
NET SHARE

Share name Resource Remark

-------------------------------------------------------------------------------
C$ C:\ Default share
IPC$ Remote IPC
ADMIN$ C:\Windows Remote Admin

```

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [April 4, 2021, 11:24am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/2 "2021-04-04T11:24:19Z")

</div>

> [@HerAdri](#):
>
> ```julia
> connection with the server was terminated abnormally
> 
> ```

Maybe an error with your network connection?

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [April 4, 2021, 11:59am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/3 "2021-04-04T11:59:43Z")

</div>

Okay. But why are some packages installed and others not?  
As shown in the post above

---

<div class="post-metadata">

**Author:** ![eliascarv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eliascarv/32/22152_2.png) [@eliascarv](https://discourse.julialang.org/u/eliascarv)\
**Post date:** [April 4, 2021, 12:00pm UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/4 "2021-04-04T12:00:42Z")

</div>

This has already happened to me on Windows 10.  
I deleted the `.julia` folder and installed everything again. It will take a while but it worked for me.

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [April 7, 2021, 6:53am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/5 "2021-04-07T06:53:16Z")

</div>

HELP ME!!!  
I deleted the `.julia` folder.  
And now I can’t install anything. Previously, before deleting the .julia folder, in Julia 1.6.0 at least some packages were installed.  
I had an experience very similar to [JuMP installation issue in Julia v1.6 Domains Optimization (Mathematical) package jump](https://discourse.julialang.org/t/jump-installation-issue-in-julia-v1-6/58721)  
unfortunately I uninstalled Julia 1.5.4; being installed was that I managed to install some packages in Julia 1.6.0 and others not!

```julia
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.6.0 (2021-03-24)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

(@v1.6) pkg> up
  Installing known registries into `C:\Users\hermesr\.julia`
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:976
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:976
     Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg> add Roots
  Installing known registries into `C:\Users\hermesr\.julia`
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:976
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:976
     Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg>

```

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [April 7, 2021, 7:18am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/6 "2021-04-07T07:18:46Z")

</div>

Delete the `.julia` directory again. Set `JULIA_PKG_SERVER` to “”.

```julia
ENV["JULIA_PKG_SERVER"] = ""

```

and then try to update.

Note that you should be able to have both 1.5.4 and 1.6 installed side-by-side.

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [April 7, 2021, 7:38am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/7 "2021-04-07T07:38:43Z")

</div>

> [@mkitti](#):
>
> `ENV["JULIA_PKG_SERVER"] = ""`

```julia
julia> ENV["JULIA_PKG_SERVER"] = ""
""

(@v1.6) pkg> up
  Installing known registries into `C:\Users\hermesr\.julia`
     Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg> add Roots
  Installing known registries into `C:\Users\hermesr\.julia`
     Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg>

```

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [April 7, 2021, 8:04am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/8 "2021-04-07T08:04:35Z")

</div>

Installed Julia 1.5.4 again.

```julia
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.5.4 (2021-03-11)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

(@v1.5) pkg> up
   Updating registry at `C:\Users\hermesr\.julia\registries\General`
No Changes to `C:\Users\hermesr\.julia\environments\v1.5\Project.toml`
No Changes to `C:\Users\hermesr\.julia\environments\v1.5\Manifest.toml`

(@v1.5) pkg> add Crayons
  Resolving package versions...
  Installed Crayons ─ v4.0.4
Updating `C:\Users\hermesr\.julia\environments\v1.5\Project.toml`
  [a8cc5b0e] + Crayons v4.0.4
Updating `C:\Users\hermesr\.julia\environments\v1.5\Manifest.toml`
  [a8cc5b0e] + Crayons v4.0.4

(@v1.5) pkg> OhMyREPL
ERROR: Could not determine command

(@v1.5) pkg> add OhMyREPL
  Resolving package versions...
  Installed Pipe ──────── v1.3.0
  Installed Artifacts ─── v1.3.0
  Installed fzf_jll ───── v0.24.4+0
  Installed JLFzf ─────── v0.1.3
  Installed Tokenize ──── v0.5.15
  Installed JLLWrappers ─ v1.2.0
  Installed OhMyREPL ──── v0.5.10
Updating `C:\Users\hermesr\.julia\environments\v1.5\Project.toml`
  [5fb14364] + OhMyREPL v0.5.10
Updating `C:\Users\hermesr\.julia\environments\v1.5\Manifest.toml`
  [56f22d72] + Artifacts v1.3.0
  [1019f520] + JLFzf v0.1.3
  [692b3bcd] + JLLWrappers v1.2.0
  [5fb14364] + OhMyREPL v0.5.10
  [b98c9c47] + Pipe v1.3.0
  [0796e94c] + Tokenize v0.5.15
  [214eeab7] + fzf_jll v0.24.4+0
  [2a0f44e3] + Base64
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [44cfe95a] + Pkg
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [cf7118a7] + UUIDs

(@v1.5) pkg>

```

Julia 1.6.0

```julia
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.6.0 (2021-03-24)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

(@v1.6) pkg> up
    Updating registry at `C:\Users\hermesr\.julia\registries\General`
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:976
  No Changes to `C:\Users\hermesr\.julia\environments\v1.6\Project.toml`
  No Changes to `C:\Users\hermesr\.julia\environments\v1.6\Manifest.toml`

(@v1.6) pkg> add Roots
   Resolving package versions...
     Cloning [f2b01f46-fcfa-551c-844a-d8ac1e96c665] Roots from https://github.com/JuliaMath/Roots.jl.git
ERROR: failed to clone from https://github.com/JuliaMath/Roots.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

julia> ENV["JULIA_PKG_SERVER"] = ""
""

(@v1.6) pkg> add Roots
   Resolving package versions...
     Cloning [f2b01f46-fcfa-551c-844a-d8ac1e96c665] Roots from https://github.com/JuliaMath/Roots.jl.git
ERROR: failed to clone from https://github.com/JuliaMath/Roots.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg>

```

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [April 7, 2021, 8:19am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/9 "2021-04-07T08:19:04Z")

</div>

I wonder if some of the solutions in these older posts may be relevant.

> [@ERROR: GitError(Code:ERROR, Class:OS, failed to send request: A connection with the server could not be established )](https://discourse.julialang.org/t/error-giterror-code-error-class-os-failed-to-send-request-a-connection-with-the-server-could-not-be-established/10192):
>
> I’m trying to install Pkg.add(“DataFrames”) but I get the following message. Any idea what could be the problem? INFO: Cloning METADATA from [https://github.com/JuliaLang/METADATA.jl](https://github.com/JuliaLang/METADATA.jl) ERROR: GitError(Code:ERROR, Class:OS, failed to send request: A connection with the server could not be established ) Stacktrace: [1] macro expansion at .\libgit2\error.jl:99 [inlined] [2] clone(::String, ::String, ::Base.LibGit2.CloneOptions) at .\libgit2\repository.jl:276 [3] #clone#100(::String, ::Bool, ::P…

> [@Errors for Git / Pkg](https://discourse.julialang.org/t/errors-for-git-pkg/9351/14):
>
> Finally got a fix. The Easy fix on this page didn’t cut it. [Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows](https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in) The quick-fix didn’t patch the Webio.dll and the Winhttp.dll in the Windows-folders. So I went to the update-catalog and downloaded the proper file for my system: [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/search.aspx?q=kb3140245) Patched,restarted, works.

---

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [April 8, 2021, 5:07am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/10 "2021-04-08T05:07:44Z")

</div>

> [@HerAdri](#):
>
> I am behind the server, and I am not an administrator of the PC.  
> How to proceed?
> 
> ```julia
> NET CONFIG
> The following running services can be controlled:
> 
> Server
> Workstation
> NET SHARE
> 
> Share name Resource Remark
> 
> -------------------------------------------------------------------------------
> C$ C:\ Default share
> IPC$ Remote IPC
> ADMIN$ C:\Windows Remote Admin
> 
> ```

```julia

```

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [April 8, 2021, 5:49am UTC](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/11 "2021-04-08T05:49:30Z")

</div>

OK, I have a crazy idea. Can you manually clone these packages using git outside of Julia?

Basically clone `https://github.com/JuliaMath/Roots.jl.git` to `C:\Users\hermesr\.julia\dev\Roots`. Then do `pkg> dev Roots`.
