# Julia 1.6.0 add Package OhMyREPL

**URL:** <https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [March 29, 2021, 7:07am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148 "2021-03-29T07:07:01Z")\
**Posts on this page:** 20\
**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:** [March 29, 2021, 7:07am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/1 "2021-03-29T07:07:01Z")

</div>

Have the following problem when wanting to add the OhMyREPL package.  
Julia 1.6.0 does not see the packages installed in the previous version !!!

```julia
julia> Pkg.add("OhMyREPL")
    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 [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
)
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:55
  [2] clone(ctx::Pkg.Types.Context, url::String, source_path::String; header::String, credentials::Nothing, kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:isbare,), Tuple{Bool}}})
    @ Pkg.GitTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\GitTools.jl:119
  [3] #ensure_clone#2
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\GitTools.jl:72 [inlined]
  [4] install_git(ctx::Pkg.Types.Context, uuid::Base.UUID, name::String, hash::Base.SHA1, urls::Vector{String}, version::VersionNumber, version_path::String)
    @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:640
  [5] download_source(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, urls::Dict{Base.UUID, Vector{String}}; readonly::Bool)
    @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:828
  [6] #download_source#56
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:726 [inlined]
  [7] download_source
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:724 [inlined]
  [8] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Vector{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
    @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1231
  [9] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:197
 [10] add
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:148 [inlined]
 [11] add(pkgs::Vector{Pkg.Types.PackageSpec}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:73
 [12] add
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:72 [inlined]
 [13] #add#21
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:70 [inlined]
 [14] add
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:70 [inlined]
 [15] #add#20
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:69 [inlined]
 [16] add(pkg::String)
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:69
 [17] top-level scope
    @ REPL[4]:1

caused by: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)
Stacktrace:
  [1] macro expansion
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\LibGit2\src\error.jl:110 [inlined]
  [2] clone(repo_url::SubString{String}, repo_path::String, clone_opts::LibGit2.CloneOptions)
    @ LibGit2 C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\LibGit2\src\repository.jl:459
  [3] clone(repo_url::SubString{String}, repo_path::String; branch::String, isbare::Bool, remote_cb::Ptr{Nothing}, credentials::LibGit2.CachedCredentials, callbacks::Dict{Symbol, Tuple{Ptr{Nothing}, Any}})
    @ LibGit2 C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\LibGit2\src\LibGit2.jl:583
  [4] clone(ctx::Pkg.Types.Context, url::String, source_path::String; header::String, credentials::Nothing, kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:isbare,), Tuple{Bool}}})
    @ Pkg.GitTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\GitTools.jl:109
  [5] #ensure_clone#2
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\GitTools.jl:72 [inlined]
  [6] install_git(ctx::Pkg.Types.Context, uuid::Base.UUID, name::String, hash::Base.SHA1, urls::Vector{String}, version::VersionNumber, version_path::String)
    @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:640
  [7] download_source(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, urls::Dict{Base.UUID, Vector{String}}; readonly::Bool)
    @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:828
  [8] #download_source#56
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:726 [inlined]
  [9] download_source
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:724 [inlined]
 [10] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Vector{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
    @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1231
 [11] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:197
 [12] add
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:148 [inlined]
 [13] add(pkgs::Vector{Pkg.Types.PackageSpec}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:73
 [14] add
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:72 [inlined]
 [15] #add#21
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:70 [inlined]
 [16] add
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:70 [inlined]
 [17] #add#20
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:69 [inlined]
 [18] add(pkg::String)
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:69
 [19] top-level scope
    @ REPL[4]:1

julia>

```

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [March 29, 2021, 7:11am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/2 "2021-03-29T07:11:09Z")

</div>

> [@HerAdri](#):
>
> ```julia
> caused by: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
> )
> 
> ```

This error says that there were some problems during the communication with Git. Can you retry and check that you are able to `git clone ...` from GitHub? Chances are that it was just a temporary hick-up.

---

<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:** [March 29, 2021, 7:25am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/3 "2021-03-29T07:25:25Z")

</div>

> [@tamasgal](#):
>
> git clone

previously I managed to add these two pkgs:

```julia
(@v1.6) pkg> st
      Status `C:\Users\hermesr\.julia\environments\v1.6\Project.toml`
  [a8cc5b0e] Crayons v4.0.4
  [ade2ca70] Dates

```

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [March 29, 2021, 7:26am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/4 "2021-03-29T07:26:40Z")

</div>

And have you tried to add `OhMyREPL` again?

---

<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:** [March 29, 2021, 7:35am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/5 "2021-03-29T07:35:22Z")

</div>

Yes!!

```julia
(@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`

```

---

<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:** [March 29, 2021, 7:36am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/6 "2021-03-29T07:36:27Z")

</div>

> [@tamasgal](#):
>
> OhMyREPL

```julia
(@v1.6) pkg> st
      Status `C:\Users\hermesr\.julia\environments\v1.6\Project.toml`
  [a8cc5b0e] Crayons v4.0.4
  [ade2ca70] Dates

(@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>

```

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [March 29, 2021, 7:46am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/7 "2021-03-29T07:46:23Z")

</div>

I think this is Windows related, but unfortunately I don’t have any experience with Julia on Windows. I would try to delete the registry folder on the machine and try again, maybe the cloned repository got in some kind of an erroneous state, but I am just guessing. In any case, you can also check `C:\Users\hermesr\.julia\registries\General` and try there `git pull` to see if you can reproduce the error manually.

---

<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:** [March 29, 2021, 7:50am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/8 "2021-03-29T07:50:44Z")

</div>

55 / 5000

in version 1.5.4, installed; works correctly!!

```julia
(@v1.5) pkg> st
Status `C:\Users\hermesr\.julia\environments\v1.5\Project.toml`
  [537997a7] AbstractPlotting v0.9.8
  [28f2ccd6] ApproxFun v0.11.14
  [093aae92] BSplineKit v0.4.0
  [91aaffc3] BaryRational v0.1.0
  [6e4b80f9] BenchmarkTools v0.5.0
  [70385e83] CMDimData v0.1.0
  [336ed68f] CSV v0.5.23
  [49dc2e85] Calculus v0.5.1
  [a2e0e22d] CalculusWithJulia v0.0.1
  [9961bab8] Cbc v0.8.0
  [a9718f02] ChemometricsTools v0.5.11
  [aaaa29a8] Clustering v0.13.5
  [a2cac450] ColorBrewer v0.4.0
  [35d6a980] ColorSchemes v3.5.0
  [5ae59095] Colors v0.9.6
  [c64915e2] ComplexRegions v0.1.1
  [b0b7db55] ComponentArrays v0.2.1
  [8f4d0f93] Conda v1.5.1
  [d38c429a] Contour v0.5.7
  [a8cc5b0e] Crayons v4.0.4
  [5a033b19] CurveFit v0.3.5
  [a93c6f00] DataFrames v0.20.0
  [2b5f629d] DiffEqBase v6.44.3
  [459566f4] DiffEqCallbacks v2.13.5
  [0c46a032] DifferentialEquations v6.16.0
  [b4f34e82] Distances v0.8.2
  [31c24e10] Distributions v0.21.12
  [84e62fa8] ElectricalEngineering v0.4.6
  [4f61f5a4] FFTViews v0.3.1
  [7a1cc6ca] FFTW v1.3.0
  [f6369f11] ForwardDiff v0.10.17
  [38e38edf] GLM v1.4.1
  [e9467ef8] GLMakie v0.0.6
  [60bf3e95] GLPK v0.13.0
  [3c7084bd] GLPKMathProgInterface v0.5.0
  [5752ebe1] GMT v0.30.1
  [28b8d3ca] GR v0.44.0
  [c91e804a] Gadfly v1.2.1
  [14197337] GenericLinearAlgebra v0.2.5
  [5c1252a2] GeometryBasics v0.3.10
  [bd48cda9] GraphRecipes v0.5.5
  [b2b3ca75] HMMBase v1.0.6
  [7073ff75] IJulia v1.23.2
  [a09fc81d] ImageCore v0.8.21
  [6a3955dd] ImageFiltering v0.6.20
  [82e4d734] ImageIO v0.4.1
  [d8c32880] ImageInTerminal v0.4.5
  [6218d12a] ImageMagick v1.2.0
  [86fae568] ImageView v0.10.13
  [916415d5] Images v0.22.5
  [d0351b0e] InspectDR v0.4.0
  [a98d9a8b] Interpolations v0.12.10
  [d1acc4aa] IntervalArithmetic v0.16.7
  [d2bf35a9] IntervalRootFinding v0.5.5
  [78b212ba] Javis v0.4.0
  [4076af6c] JuMP v0.21.4
  [a93385a2] JuliaDB v0.13.0
  [98e50ef6] JuliaFormatter v0.13.8
  [aa1ae85d] JuliaInterpreter v0.8.11
  [0b1a1467] KrylovKit v0.5.2
  [b964fa9f] LaTeXStrings v1.2.1
  [176e4ad4] MDDatasets v0.3.4
  [f0e99cf1] MLBase v0.8.0
  [eff96d63] Measurements v2.5.0
  [442fdcdd] Measures v0.3.1
  [961ee093] ModelingToolkit v3.1.1
  [2774e3e8] NLsolve v4.5.1
  [c030b06c] ODE v2.13.0
  [5fb14364] OhMyREPL v0.5.10
  [a15396b6] OnlineStats v1.5.8
  [429524aa] Optim v0.20.1
  [1dea7af3] OrdinaryDiffEq v5.42.3
  [3b7a836e] PGFPlots v3.2.1
  [65888b18] ParameterizedFunctions v5.6.0
  [ccf2f8ad] PlotThemes v0.4.0
  [91a5bcdd] Plots v0.25.3
  [c3e4b0f8] Pluto v0.12.7
  [f27b6e38] Polynomials v1.2.1
  [438e738f] PyCall v1.92.2
  [d330b81b] PyPlot v2.9.0
  [6f49c342] RCall v0.13.6
  [ce6b1742] RDatasets v0.7.4
  [731186ca] RecursiveArrayTools v2.11.0
  [295af30f] Revise v3.1.3
  [7181ea78] RootSolvers v0.2.0
  [f2b01f46] Roots v1.0.8
  [276daf66] SpecialFunctions v0.9.0
  [60ddc479] StatPlots v0.9.2
  [90137ffa] StaticArrays v0.12.5
  [2913bbd2] StatsBase v0.32.2
  [f3b207a7] StatsPlots v0.13.0
  [6aa5eb33] TaylorSeries v0.10.11
  [5e47fb64] TestImages v1.4.0
  [8c8f4381] TravelingSalesmanHeuristics v0.3.3
  [b8865327] UnicodePlots v1.3.0
  [1986cc42] Unitful v1.6.0
  [0ae4a718] VegaDatasets v2.1.1
  [112f6efa] VegaLite v2.4.1
  [d6d074c3] VideoIO v0.6.7
  [bd07be1c] Winston v0.15.0
  [ade2ca70] Dates
  [8bb1440f] DelimitedFiles
  [37e2e46d] LinearAlgebra
  [9a3f8284] Random

(@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>

```

Julia 1.6.0 does not see these packages, how to proceed?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [March 29, 2021, 8:10am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/9 "2021-03-29T08:10:45Z")

</div>

Apart from anything else, that’s a huge amount of packages in the default environment, you should really consider working in project specific environments to minimize the risk of version conflicts.

---

<div class="post-metadata">

**Author:** ![cjdoris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cjdoris/32/213133_2.png) [@cjdoris](https://discourse.julialang.org/u/cjdoris)\
**Post date:** [March 29, 2021, 8:22am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/10 "2021-03-29T08:22:22Z")

</div>

Julia intentionally uses separate environments for each Julia version. You can manually copy the environment then PKG.resolve() or Pkg.update() it to ensure compatibility with 1.6.

---

<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:** [March 29, 2021, 8:28am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/11 "2021-03-29T08:28:54Z")

</div>

in version 1.5.4 the packages are in  
“C: \ Users \ hermesr \ .julia”

I have added two packages to version 1.6.0 !!

```julia
(@v1.6) pkg> st
      Status `C:\Users\hermesr\.julia\environments\v1.6\Project.toml`
  [a8cc5b0e] Crayons v4.0.4
  [ade2ca70] Dates

```

Where are the packages located?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 29, 2021, 8:32am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/12 "2021-03-29T08:32:58Z")

</div>

Does [problems with SSL host verification with proxy servers · Issue #108 · JuliaLang/Downloads.jl · GitHub](https://github.com/JuliaLang/Downloads.jl/issues/108) help anything?

---

<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:** [March 29, 2021, 8:43am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/13 "2021-03-29T08:43:34Z")

</div>

For my appreciation Julia 1.6.0 add the packages to the same destination as the version 1.5.4 installed:

 ![Julia Environments](https://global.discourse-cdn.com/julialang/original/3X/2/9/29c990a3b91ff5207319cc16a8835a7f14be4c18.jpeg)

---

<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:** [March 29, 2021, 8:56am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/14 "2021-03-29T08:56:05Z")

</div>

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

Julia>ENV
11:50:14->>Base.EnvDict with 46 entries:
  "=::" => "::\\"
  "ALLUSERSPROFILE" => "C:\\ProgramData"
  "APPDATA" => "C:\\Users\\hermesr\\AppData\\Roaming"
  "CHOCOLATEYINSTALL" => "C:\\ProgramData\\chocolatey"
  "CHOCOLATEYLASTPATHUPDATE" => "132514487680093426"
  "CHOCOLATEYTOOLSLOCATION" => "C:\\tools"
  "COMMONPROGRAMFILES" => "C:\\Program Files\\Common Files"
  "COMMONPROGRAMFILES(X86)" => "C:\\Program Files (x86)\\Common Files"
  "COMMONPROGRAMW6432" => "C:\\Program Files\\Common Files"
  "COMPUTERNAME" => "HERMESR"
  "COMSPEC" => "C:\\Windows\\system32\\cmd.exe"
  "DADIR" => "C:\\Program Files (x86)\\CheckPoint\\Endpoint Security\\Endpoint Common"
  "HOMEDRIVE" => "Z:"
  "HOMEPATH" => "\\"
  "HOMESHARE" => "\\\\ecpfs\\users\\hermesr.ELECTRA_CON"
  "LOCALAPPDATA" => "C:\\Users\\hermesr\\AppData\\Local"
  "LOGONSERVER" => "\\\\ECPDC01"
  "NUMBER_OF_PROCESSORS" => "4"
  "ONEDRIVE" => "C:\\Users\\hermesr\\OneDrive"
  "OPENBLAS_MAIN_FREE" => "1"
  "OS" => "Windows_NT"
  "PATH" => "C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\W… "PATHEXT" => ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
  "PROCESSOR_ARCHITECTURE" => "AMD64"
  "PROCESSOR_IDENTIFIER" => "Intel64 Family 6 Model 58 Stepping 9, GenuineIntel"
  ⋮ => ⋮

```

These are the variable of the installation environment 1.5.4  
Which of them should I take to update[According to](https://github.com/JuliaLang/Downloads.jl/issues/108)

````julia
```
ENV["http_proxy"] = "http://<your_proxy>:<port>"
ENV["https_proy"] = "http://<your_proxy>:<port>"
ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "github.com"
```
````

---

<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:** [March 29, 2021, 9:02am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/15 "2021-03-29T09:02:36Z")

</div>

There is something like this; ENV → “C: \ Users \ hermesr \ Desktop \ env.txt”,  
to be able to visualize all the variables?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 29, 2021, 9:11am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/16 "2021-03-29T09:11:44Z")

</div>

Just try put

```julia
ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "github.com"

```

in the Julia REPL and try install the package again.

---

<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:** [March 29, 2021, 9:23am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/17 "2021-03-29T09:23:26Z")

</div>

> [@kristoffer.carlsson](#):
>
> `ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "github.com"`

```julia
julia> ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "github.com"
"github.com"

(@v1.6) pkg> add OhMyREPL
    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 [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>

```

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 29, 2021, 9:27am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/18 "2021-03-29T09:27:24Z")

</div>

I don’t understand why it starts to clone right away…

Does, something like

```julia
julia> using Downloads

julia> url = "https://pkg.julialang.org/package/7876af07-990d-54b4-ab0e-23690620f79a/46e44e869b4d90b96bd8ed1fdcf32244fddfb6cc"^C

julia> Downloads.download(url)
"/tmp/jl_PoBhkm"

```

work?

---

<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:** [March 29, 2021, 10:19am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/19 "2021-03-29T10:19:53Z")

</div>

> [@kristoffer.carlsson](#):
>
> `Downloads.download(url)`

```julia
julia> using Downloads
julia> url = "https://pkg.julialang.org/package/7876af07-990d-54b4-ab0e-23690620f79a/46e44e869b4d90b96bd8ed1fdcf32244fddfb6cc"
"https://pkg.julialang.org/package/7876af07-990d-54b4-ab0e-23690620f79a/46e44e869b4d90b96bd8ed1fdcf32244fddfb6cc"

julia> Downloads.download(url)
ERROR: schannel: failed to receive handshake, SSL/TLS connection failed while requesting https://pkg.julialang.org/package/7876af07-990d-54b4-ab0e-23690620f79a/46e44e869b4d90b96bd8ed1fdcf32244fddfb6cc
Stacktrace:
  [1] (::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool})(easy::Downloads.Curl.Easy)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:356
  [2] with_handle(f::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool}, handle::Downloads.Curl.Easy)
    @ Downloads.Curl C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Curl\Curl.jl:60
  [3] #8
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:298 [inlined]
  [4] arg_write(f::Downloads.var"#8#17"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool}, arg::IOStream)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:112
  [5] #7
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:297 [inlined]
  [6] arg_read
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:61 [inlined]
  [7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, throw::Bool, downloader::Nothing)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:296
  [8] (::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, String})(output::IOStream)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:209
  [9] arg_write(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, String}, arg::Nothing)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:101
 [10] #download#2
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:208 [inlined]
 [11] download (repeats 2 times)
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:208 [inlined]
 [12] top-level scope
    @ REPL[3]:1

```

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 29, 2021, 10:20am UTC](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148/20 "2021-03-29T10:20:29Z")

</div>

And if you do ` ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "pkg.julialang.org"` before?

[Next page](https://discourse.julialang.org/t/julia-1-6-0-add-package-ohmyrepl/58148.md?page=2)
