# Julia 0.6.3 on Windows 10 ERROR: GitError(Code:ENOTFOUND, Class:Repository, Could not find repository from 'C:\\Users\\user\\.julia\\v0.6\\.cache\\BinDeps')

**URL:** <https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455>\
**Category:** New to Julia\
**Created:** [June 5, 2018, 10:47pm UTC](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455 "2018-06-05T22:47:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suiato](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/suiato/32/1713_2.png) [@suiato](https://discourse.julialang.org/u/suiato)\
**Post date:** [June 5, 2018, 10:47pm UTC](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455/1 "2018-06-05T22:47:54Z")

</div>

Getting the following error on Julia 0.6.3. Will appreciate any advice on how to handle it.

```julia
julia> Pkg.update()
INFO: Updating METADATA...
INFO: Computing changes...
ERROR: GitError(Code:ENOTFOUND, Class:Repository, Could not find repository from 'C:\Users\user\.julia\v0.6\.cache\BinDeps')
Stacktrace:
 [1] macro expansion at .\libgit2\error.jl:99 [inlined]
 [2] Base.LibGit2.GitRepo(::String) at .\libgit2\repository.jl:10
 [3] prefetch(::String, ::String, ::Array{String,1}) at .\pkg\cache.jl:41
 [4] resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at .\pkg\entry.jl:518
 [5] update(::String, ::Set{String}) at .\pkg\entry.jl:461
 [6] (::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}})() at .\pkg\dir.jl:36
 [7] cd(::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}}, ::String) at .\file.jl:59
 [8] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N} where N) at .\pkg\dir.jl:36
 [9] update() at .\pkg\pkg.jl:228

```

```julia
julia> versioninfo()
Julia Version 0.6.3
Commit d55cadc350* (2018-05-28 20:20 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, sandybridge)

```

---

<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:** [June 5, 2018, 11:05pm UTC](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455/2 "2018-06-05T23:05:14Z")

</div>

Try delete the `.cache` directory.

---

<div class="post-metadata">

**Author:** ![suiato](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/suiato/32/1713_2.png) [@suiato](https://discourse.julialang.org/u/suiato)\
**Post date:** [June 6, 2018, 4:53am UTC](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455/3 "2018-06-06T04:53:28Z")

</div>

Yes, it worked!  
Thank you 🙂

---

<div class="post-metadata">

**Author:** ![Keith\_Myerscough1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/keith_myerscough1/32/211887_2.png) [@Keith\_Myerscough1](https://discourse.julialang.org/u/Keith_Myerscough1)\
**Post date:** [September 10, 2024, 8:16am UTC](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455/4 "2024-09-10T08:16:32Z")

</div>

I ran into the same error, but for me the issue was not related to the .cache folder, but due to my Registries git repository becoming malformed. I suspect it was because my home drive is somehow affected by a OneDrive synching.
