# Removing a registry

**URL:** <https://discourse.julialang.org/t/removing-a-registry/23727>\
**Category:** General Usage\
**Created:** [May 1, 2019, 10:01am UTC](https://discourse.julialang.org/t/removing-a-registry/23727 "2019-05-01T10:01:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Gibb](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Andrew\_Gibb](https://discourse.julialang.org/u/Andrew_Gibb)\
**Post date:** [May 1, 2019, 10:01am UTC](https://discourse.julialang.org/t/removing-a-registry/23727/1 "2019-05-01T10:01:01Z")

</div>

I experimented with creating my own registry. It didn’t work out, because I can’t access our corporate github accounts using the julia package management tools. Fine. It was an experiment. I’ve removed the registry information from ~/.julia/general/registries. But when I use the Pkg REPL to install or update packages, my abortive registry is still checked. Is there a way I can remove it?

---

<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:** [May 1, 2019, 10:19am UTC](https://discourse.julialang.org/t/removing-a-registry/23727/2 "2019-05-01T10:19:37Z")

</div>

That should be enough. Maybe you still have the registry in another depot?

---

<div class="post-metadata">

**Author:** ![Andrew\_Gibb](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Andrew\_Gibb](https://discourse.julialang.org/u/Andrew_Gibb)\
**Post date:** [May 1, 2019, 10:42am UTC](https://discourse.julialang.org/t/removing-a-registry/23727/3 "2019-05-01T10:42:06Z")

</div>

Maybe. I don’t understand what you mean by depot.

---

<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:** [May 1, 2019, 11:13am UTC](https://discourse.julialang.org/t/removing-a-registry/23727/4 "2019-05-01T11:13:07Z")

</div>

The package manager looks for registries in `DEPOT_PATH`, more specifically in these directories: `joinpath.(DEPOT_PATH, "registries")`.

---

<div class="post-metadata">

**Author:** ![Andrew\_Gibb](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Andrew\_Gibb](https://discourse.julialang.org/u/Andrew_Gibb)\
**Post date:** [May 1, 2019, 11:33am UTC](https://discourse.julialang.org/t/removing-a-registry/23727/5 "2019-05-01T11:33:36Z")

</div>

I see. I don’t have any registries in any of those locations, aside from the General registry in ~/.julia/… which I already mentioned.

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [May 1, 2019, 11:47am UTC](https://discourse.julialang.org/t/removing-a-registry/23727/6 "2019-05-01T11:47:56Z")

</div>

> [@Andrew\_Gibb](#):
>
> It didn’t work out, because I can’t access our corporate github accounts using the julia package management tools.

Out of curiosity, what is the roadblock for that?

---

<div class="post-metadata">

**Author:** ![Andrew\_Gibb](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Andrew\_Gibb](https://discourse.julialang.org/u/Andrew_Gibb)\
**Post date:** [May 1, 2019, 12:29pm UTC](https://discourse.julialang.org/t/removing-a-registry/23727/7 "2019-05-01T12:29:53Z")

</div>

> [@GunnarFarneback](#):
>
> Out of curiosity, what is the roadblock for that?

See the discussion here:

> [@Accesing a Registry on Private Github](https://discourse.julialang.org/t/accesing-a-registry-on-private-github/19997/12):
>
> So, I went digging around in the source for Pkg, and followed things all the way down into the libgit2 C library. At this stage, I couldn’t figure out which calls did what, and ran out of time to investigate further. A bit more detail about the on-network case which is the problem: We use a socks proxy for ssh traffic leaving our network. This is wrapped in a call to netcat, specified in one’s ssh config file. It seems that libgit2, and be extension Pkg, does not look at ssh config by default. …

---

<div class="post-metadata">

**Author:** ![Andrew\_Gibb](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Andrew\_Gibb](https://discourse.julialang.org/u/Andrew_Gibb)\
**Post date:** [May 3, 2019, 2:48pm UTC](https://discourse.julialang.org/t/removing-a-registry/23727/8 "2019-05-03T14:48:53Z")

</div>

Does anyone have any other ideas what might be going on here?

---

<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:** [May 3, 2019, 9:32pm UTC](https://discourse.julialang.org/t/removing-a-registry/23727/9 "2019-05-03T21:32:52Z")

</div>

Can you post the actual error with a stacktrace?
