# "ERROR: expected package... to be registered" in JuliaPro

**URL:** <https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430>\
**Category:** New to Julia\
**Tags:** juno, error, juliapro, installation\
**Created:** [December 26, 2020, 11:14pm UTC](https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430 "2020-12-26T23:14:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Post date:** [December 26, 2020, 11:14pm UTC](https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430/1 "2020-12-26T23:14:04Z")

</div>

I just downloaded JuliaPro 1.5.3 and am trying to follow this tutorial exactly: [Julia Tutorial on YT](https://www.youtube.com/watch?v=ei-xnVid3QY&ab_channel=TheJuliaProgrammingLanguage). I went into Atom and tried to update the packages as was shown in the tutorial by issuing the following command:

```julia
(@JuliaPro_v1.5.3-1) pkg> up

```

But this gave me the following error:

```julia
ERROR: expected package `Juno [e5e0dc1b]` to be registered

```

I don’t understand what this means…How do I get Juno “registered” so that I can resolve this and continue on with the tutorial?

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [December 27, 2020, 1:12pm UTC](https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430/2 "2020-12-27T13:12:53Z")

</div>

I would try `]registry up` and if that fails remove the registry entirely (it will get reinstalled the next time it is needed).

---

<div class="post-metadata">

**Author:** ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Post date:** [December 27, 2020, 7:03pm UTC](https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430/3 "2020-12-27T19:03:53Z")

</div>

Thanks! I removed the registry and after it reinstalled it worked!

---

<div class="post-metadata">

**Author:** ![zestyzapus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zestyzapus/32/26336_2.png) [@zestyzapus](https://discourse.julialang.org/u/zestyzapus)\
**Post date:** [June 21, 2021, 10:19pm UTC](https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430/4 "2021-06-21T22:19:25Z")

</div>

I’d like to add some information to @hendri54’s answer and hopefully help other beginners like me.

1. Registries are folders under `~/.julia/registries/`. In my case, there are two registries: “[General](https://pkgdocs.julialang.org/v1/registries/)” and “JuliaComputingRegistry”. To “remove the registry” means to delete defected folders under `~/.julia/registries/`. For example in this case, delete `~/.julia/registries/General` which `Juno` is registered to.
2. After deleting, you can [manually add](https://pkgdocs.julialang.org/v1/registries/#Adding-registries) `General` back using

```julia
(@JuliaPro_v1.5.4-1) pkg> registry add https://github.com/JuliaRegistries/General

```

Looking back, I probably had messed `General` up by interupting the update process. `General` should have subfolders named from `A` to `Z` but in my case there were only `A` to `G`. `Juno` should be in the subfolder `J`, hence the error message. Moreover, `~/julia/registries/General/Registry.toml` was missing, so Pkg didn’t even know this registry exists, let alone to reinstall it automatically.

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [January 28, 2022, 10:07pm UTC](https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430/5 "2022-01-28T22:07:58Z")

</div>

A post was split to a new topic: [Update registry via the Pkg API?](https://discourse.julialang.org/t/update-registry-via-the-pkg-api/75397)
