# Registry dirty

**URL:** <https://discourse.julialang.org/t/registry-dirty/17989>\
**Category:** General Usage\
**Created:** [November 25, 2018, 8:10pm UTC](https://discourse.julialang.org/t/registry-dirty/17989 "2018-11-25T20:10:16Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![greg\_plowman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/greg_plowman/32/8100_2.png) [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Post date:** [December 8, 2018, 1:58am UTC](https://discourse.julialang.org/t/registry-dirty/17989/21 "2018-12-08T01:58:59Z")

</div>

> [@OlivierHnt](#):
>
> No I did not want to upgrade just yet. I feel that if I do it now, by a year from now I will have many Julia installed and I am not sure how that works.

In theory, point release upgrades (e.g. v1.0.0 → v1.0.2) contain bug fixes only and should be backwards compatible. They should be considered as a drop-in replacement. No need for multiple installations.

---

<div class="post-metadata">

**Author:** ![OlivierHnt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/olivierhnt/32/6227_2.png) [@OlivierHnt](https://discourse.julialang.org/u/OlivierHnt)\
**Post date:** [December 8, 2018, 2:00am UTC](https://discourse.julialang.org/t/registry-dirty/17989/22 "2018-12-08T02:00:33Z")

</div>

Oh I see, that is good to know. I will have to copy and paste my packages before deleting Julia 1.0.0 I assume.

---

<div class="post-metadata">

**Author:** ![greg\_plowman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/greg_plowman/32/8100_2.png) [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Post date:** [December 8, 2018, 2:03am UTC](https://discourse.julialang.org/t/registry-dirty/17989/23 "2018-12-08T02:03:00Z")

</div>

> [@OlivierHnt](#):
>
> I will have to copy and paste my packages before deleting Julia 1.0.0 I assume.

No, just install new version of Julia v1.0.2, check everything works OK, then delete Julia v1.0.0. Packages should be unaffected.

---

<div class="post-metadata">

**Author:** ![OlivierHnt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/olivierhnt/32/6227_2.png) [@OlivierHnt](https://discourse.julialang.org/u/OlivierHnt)\
**Post date:** [December 8, 2018, 2:09am UTC](https://discourse.julialang.org/t/registry-dirty/17989/24 "2018-12-08T02:09:31Z")

</div>

I am looking at this right now. Indeed, everything seems to be identical. Thank you both for your fast replies! 🙂

---

<div class="post-metadata">

**Author:** ![ArchieCall](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/archiecall/32/206_2.png) [@ArchieCall](https://discourse.julialang.org/u/ArchieCall)\
**Post date:** [December 10, 2018, 11:56am UTC](https://discourse.julialang.org/t/registry-dirty/17989/25 "2018-12-10T11:56:21Z")

</div>

I had the same exact issue. Removed the General folder with Windows Explorer and then followed with an “up” command in the REPL. All is good!

---

<div class="post-metadata">

**Author:** ![TAJD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tajd/32/3710_2.png) [@TAJD](https://discourse.julialang.org/u/TAJD)\
**Post date:** [January 9, 2019, 9:22am UTC](https://discourse.julialang.org/t/registry-dirty/17989/26 "2019-01-09T09:22:36Z")

</div>

This worked for me too.

---

<div class="post-metadata">

**Author:** ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)\
**Post date:** [June 23, 2019, 4:32am UTC](https://discourse.julialang.org/t/registry-dirty/17989/27 "2019-06-23T04:32:05Z")

</div>

These solutions don’t work for me on ARMv7, 32-bit - even going into the General repo and `git reset --hard HEAD` don’t solve it. It appears that every file has been changed.

Edit: This seems to be a different problem; the error is introduced when a stdlib is added.

---

<div class="post-metadata">

**Author:** ![wsshin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wsshin/32/360_2.png) [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Post date:** [October 11, 2019, 12:39pm UTC](https://discourse.julialang.org/t/registry-dirty/17989/28 "2019-10-11T12:39:35Z")

</div>

@fredrikekre, I read your posting and removed `~/.julia/registries/General/` directory without backing it up. In my case, restarting REPL followed by `Pkg.update()` did not recreate the directory.

```julia
(v1.4) pkg> update
   Cloning default registries into `~/.julia`
   Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: Git repository not found at 'https://github.com/JuliaRegistries/General.git'

```

If someone wants to try the suggestion in this posting, I recommend backing up the `~/.julia/registries/General/` directory before deleting.

EDIT. Maybe related with the Julia version. It does not work in version 1.4, but it works in version 1.0.

---

<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 11, 2019, 12:59pm UTC](https://discourse.julialang.org/t/registry-dirty/17989/29 "2019-10-11T12:59:17Z")

</div>

Works for me, you are probably running into [https://github.com/JuliaLang/julia/issues/33111](https://github.com/JuliaLang/julia/issues/33111) ([https://github.com/libgit2/libgit2/issues/5220](https://github.com/libgit2/libgit2/issues/5220), [https://github.com/libgit2/libgit2/issues/5255](https://github.com/libgit2/libgit2/issues/5255))

---

<div class="post-metadata">

**Author:** ![wusloan](https://avatars.discourse-cdn.com/v4/letter/w/df788c/32.png) [@wusloan](https://discourse.julialang.org/u/wusloan)\
**Post date:** [November 19, 2019, 5:56am UTC](https://discourse.julialang.org/t/registry-dirty/17989/30 "2019-11-19T05:56:48Z")

</div>

From my case in Window 8.1/Julia v1.2, it was caused by “Stage Changed” that I switch the default package source address into mirror one without commit this change in Git. Assume you had installed Git in your PC, try to use Git bash or Git GUI to check it out. Once you commit the change, the error could be fixed.  
Hope it could help.

![image](https://global.discourse-cdn.com/julialang/original/3X/2/4/247fc6a15a547cc4173dedf93aa02d2c06a57ed2.png)

---

<div class="post-metadata">

**Author:** ![wusloan](https://avatars.discourse-cdn.com/v4/letter/w/df788c/32.png) [@wusloan](https://discourse.julialang.org/u/wusloan)\
**Post date:** [November 19, 2019, 5:58am UTC](https://discourse.julialang.org/t/registry-dirty/17989/31 "2019-11-19T05:58:42Z")

</div>

![image](https://global.discourse-cdn.com/julialang/original/3X/5/a/5a45b84609b40124f26426bc813c231bc01be1bb.png)

[Previous page](https://discourse.julialang.org/t/registry-dirty/17989.md?page=1)
