# \]dev RayTraceEllipsoid pulls old version

**URL:** <https://discourse.julialang.org/t/dev-raytraceellipsoid-pulls-old-version/16228>\
**Category:** General Usage\
**Tags:** question, package, pkg, git\
**Created:** [October 12, 2018, 11:37am UTC](https://discourse.julialang.org/t/dev-raytraceellipsoid-pulls-old-version/16228 "2018-10-12T11:37:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [October 12, 2018, 11:37am UTC](https://discourse.julialang.org/t/dev-raytraceellipsoid-pulls-old-version/16228/1 "2018-10-12T11:37:01Z")

</div>

So I wanted to do some work on my registered package [RayTraceEllipsoid.jl](https://github.com/JuliaGeometry/RayTraceEllipsoid.jl), so I `]dev RayTraceEllipsoid` and realized that this was an old version from before the update to `v1.0`. But if I look at `master` online then it’s all updated. If I `git pull` in `.julia/dev/RayTraceEllipsoid` then it gets updated to the correct most recent version.

Why is `Pkg ` pulling an old commit? And how can I fix this issue?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [October 12, 2018, 12:01pm UTC](https://discourse.julialang.org/t/dev-raytraceellipsoid-pulls-old-version/16228/2 "2018-10-12T12:01:33Z")

</div>

There are tow possible scenarios:

1. You already had the package in `dev/RayTraceEllipsoid`. If that is the case then Pkg will simply point to the code that is there (so this might be an old version). When this happens Pkg prints a message along the lines of

```julia
[ Info: Path `dev/RayTraceEllipsoid` exists and looks like the correct package,
          using existing path instead of cloning

```

2. You are hitting [https://github.com/JuliaLang/Pkg.jl/issues/465](https://github.com/JuliaLang/Pkg.jl/issues/465) which you can probably fix by deleting `.julia/clones`.

---

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [October 12, 2018, 12:16pm UTC](https://discourse.julialang.org/t/dev-raytraceellipsoid-pulls-old-version/16228/3 "2018-10-12T12:16:50Z")

</div>

Yap, it was solution #2 that fixed it for me.

Thanks you!
