# Problem installing Julia 1.6

**URL:** <https://discourse.julialang.org/t/problem-installing-julia-1-6/59151>\
**Category:** New to Julia\
**Created:** [April 13, 2021, 6:13am UTC](https://discourse.julialang.org/t/problem-installing-julia-1-6/59151 "2021-04-13T06:13:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![natgeo-wong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/natgeo-wong/32/10965_2.png) [@natgeo-wong](https://discourse.julialang.org/u/natgeo-wong)\
**Post date:** [April 13, 2021, 6:13am UTC](https://discourse.julialang.org/t/problem-installing-julia-1-6/59151/1 "2021-04-13T06:13:15Z")

</div>

Hi! I’m trying to install Julia 1.6 on a linux server, but am encountering issues with detection of, and cloning from, the registries. Something to do with git issues or an SSL error somewhere? Is this related to an issue regarding permissions on my end?

```julia
(@v1.6) pkg> add Dates
  Installing known registries into `~/.julia`
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:976
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types /buildworker/worker/package_linux64/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:SSL, failed to load CA certificates: 0xffffde80 - X509 - The CRT/CRL/CSR format is invalid, e.g. different type expected)

```

---

<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:** [April 13, 2021, 7:24am UTC](https://discourse.julialang.org/t/problem-installing-julia-1-6/59151/2 "2021-04-13T07:24:39Z")

</div>

This seems to be a problem with the X509 certificate’s validity.

Do you get the same error when you do

`git clone https://github.com/JuliaRegistries/General.git`

somewhere in a temp directory in the shell?

Which Linux do you use? What’s the `git --version` and `openssl version`?

---

<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:** [April 13, 2021, 7:31am UTC](https://discourse.julialang.org/t/problem-installing-julia-1-6/59151/3 "2021-04-13T07:31:29Z")

</div>

Btw. it could also be that a certificate is somehow corrupted. Those are stored in `/etc/ssl/certs`, maybe try to look for something with `ffffde80`, as reported by the error message, but I am just guessing…

EDIT: or simply run something like `update-ca-certificates`, see here for Ubuntu/Debian: [Ubuntu Manpage: update-ca-certificates - update /etc/ssl/certs and certificates.crt](http://manpages.ubuntu.com/manpages/trusty/man8/update-ca-certificates.8.html)

---

<div class="post-metadata">

**Author:** ![natgeo-wong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/natgeo-wong/32/10965_2.png) [@natgeo-wong](https://discourse.julialang.org/u/natgeo-wong)\
**Post date:** [April 13, 2021, 5:45pm UTC](https://discourse.julialang.org/t/problem-installing-julia-1-6/59151/4 "2021-04-13T17:45:10Z")

</div>

```julia
julia> versioninfo()
Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) Gold 6134 CPU @ 3.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake-avx512)

```

And

```julia
[nwong@boslogin03 ~]$ git --version 
git version 1.8.3.1
[nwong@boslogin03 ~]$ openssl version
OpenSSL 1.0.2k-fips 26 Jan 2017

```

---

<div class="post-metadata">

**Author:** ![natgeo-wong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/natgeo-wong/32/10965_2.png) [@natgeo-wong](https://discourse.julialang.org/u/natgeo-wong)\
**Post date:** [April 13, 2021, 6:30pm UTC](https://discourse.julialang.org/t/problem-installing-julia-1-6/59151/5 "2021-04-13T18:30:31Z")

</div>

Alright, so it appears that I needed to use [GitError that only occurs in 1.6/nightly · Issue #39289 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/39289) instead.
