# HELP! Can not install packages... Git can not clone https://github.com/JuliaRegistries/General.git

**URL:** <https://discourse.julialang.org/t/help-can-not-install-packages-git-can-not-clone-https-github-com-juliaregistries-general-git/36241>\
**Category:** New to Julia\
**Tags:** package, github\
**Created:** [March 20, 2020, 2:07am UTC](https://discourse.julialang.org/t/help-can-not-install-packages-git-can-not-clone-https-github-com-juliaregistries-general-git/36241 "2020-03-20T02:07:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![benibilme](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Post date:** [March 20, 2020, 2:07am UTC](https://discourse.julialang.org/t/help-can-not-install-packages-git-can-not-clone-https-github-com-juliaregistries-general-git/36241/1 "2020-03-20T02:07:45Z")

</div>

Hello,

I have a manjaro installed pc. I installed julia through manjaro package management system (pacman). The installed julia version is 1.3.1. I tried to install several packages from RELP but I receive following error

```julia
julia> 
(v1.3) pkg> add DataFrames
   Cloning default registries into `~/.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:Invalid, invalid version 0 on git_proxy_options) 

```

However I can manually clone via

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

```

Git is working as expected. I am behind a firewall but the pc can access internet without proxy settings…  
Any help much appreciated.

---

<div class="post-metadata">

**Author:** ![Fliks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fliks/32/2494_2.png) [@Fliks](https://discourse.julialang.org/u/Fliks)\
**Post date:** [March 20, 2020, 9:12am UTC](https://discourse.julialang.org/t/help-can-not-install-packages-git-can-not-clone-https-github-com-juliaregistries-general-git/36241/2 "2020-03-20T09:12:52Z")

</div>

You are hitting this issue:

[https://github.com/JuliaLang/julia/issues/33111](https://github.com/JuliaLang/julia/issues/33111)

The current solutions are to either downgrade your libgit2, or to download the registry manually to ~/.julia/registries/General

---

<div class="post-metadata">

**Author:** ![benibilme](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Post date:** [March 22, 2020, 12:26am UTC](https://discourse.julialang.org/t/help-can-not-install-packages-git-can-not-clone-https-github-com-juliaregistries-general-git/36241/3 "2020-03-22T00:26:17Z")

</div>

Yes, thank you for pointing out. I am using manjaro which is rolling release based on arch so I can not or could not downgrade the libgit2 to 0.22 which seems quite old.

I have circumvent the problem, by manually pulling JuliaRegistries under ~/.julia/registries directory. After that packages can be installed but updating still fails. I tried to manually update all repo via git pull but after that some of builds got broken…So as long as the whole repository is update via Pkg.update command, everthing seems working fine. I am waiting release of 1.4 which supposed to solve this problem.
