# Issues with package management

**URL:** <https://discourse.julialang.org/t/issues-with-package-management/41470>\
**Category:** New to Julia\
**Created:** [June 15, 2020, 8:27pm UTC](https://discourse.julialang.org/t/issues-with-package-management/41470 "2020-06-15T20:27:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominic\_Pazzula](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dominic_pazzula/32/12783_2.png) [@Dominic\_Pazzula](https://discourse.julialang.org/u/Dominic_Pazzula)\
**Post date:** [June 15, 2020, 8:27pm UTC](https://discourse.julialang.org/t/issues-with-package-management/41470/1 "2020-06-15T20:27:03Z")

</div>

Still learning Julia…

I think I messed up the package repository on my machine and I’m at a loss on how to fix it.

I attempted to install a package from github:

```julia
(@v1.3) pkg> add https://github.com/tkf/ThreadsX.jl
    Cloning git-repo `https://github.com/tkf/ThreadsX.jl`
   Updating git-repo `https://github.com/tkf/ThreadsX.jl`
   Updating registry at `C:\Users\dpazzula\.juliapro\JuliaPro_v1.3.1-2\registries\JuliaPro`
ERROR: SystemError (with C:\Users\dpazzula\.juliapro\JuliaPro_v1.3.1-2\registries\JuliaPro\O): rmdir: Directory not empty

```

That seemed bad.

Now when I attempt to install a package I get:

```julia
julia> Pkg.add("RCall")
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package JSON3 [0f8b85d8]:
 JSON3 [0f8b85d8] log:
 ├─JSON3 [0f8b85d8] has no known versions!
 └─restricted to versions * by an explicit requirement — no versions left

```

Tried an `update()` hoping that would automagically fix things:

```julia
julia> Pkg.update()
   Updating git-repo `C:\Users\dpazzula\Documents\julia_test\PCF`
ERROR: Unsatisfiable requirements detected for package JSON3 [0f8b85d8]:
 JSON3 [0f8b85d8] log:
 ├─JSON3 [0f8b85d8] has no known versions!
 └─restricted to versions * by an explicit requirement — no versions left

```

I removed `JSON3` and then tried adding it again:

```julia
julia> Pkg.rm("JSON3")
   Updating `C:\Users\dpazzula\.juliapro\JuliaPro_v1.3.1-2\environments\v1.3\Project.toml`
   0f8b85d8 - JSON3 v1.0.3
   Updating `C:\Users\dpazzula\.juliapro\JuliaPro_v1.3.1-2\environments\v1.3\Manifest.toml`
   Updating empty diff

julia> Pkg.add("JSON3")
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package JSON3 [0f8b85d8]:
 JSON3 [0f8b85d8] log:
 ├─JSON3 [0f8b85d8] has no known versions!
 └─restricted to versions * by an explicit requirement — no versions left

```

Which is bad as I have a code that requires it…

What did I do wrong and what do I need to do to fix it (other than reinstall Julia, which is what I hope to avoid, but will do if needed)?
