# Pkg cannot find registered packages

**URL:** <https://discourse.julialang.org/t/pkg-cannot-find-registered-packages/54008>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [January 26, 2021, 7:49pm UTC](https://discourse.julialang.org/t/pkg-cannot-find-registered-packages/54008 "2021-01-26T19:49:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [January 26, 2021, 7:55pm UTC](https://discourse.julialang.org/t/pkg-cannot-find-registered-packages/54008/2 "2021-01-26T19:55:26Z")

</div>

You (probably) have a broken or non-existing registry. Try to remove and add again:

```julia
# Remove
rm(joinpath(DEPOT_PATH[1], "registries", "General"); force=true, recursive=true)
# Add
import Pkg
Pkg.Registry.add("General")

```

---

_[View the full topic](https://discourse.julialang.org/t/pkg-cannot-find-registered-packages/54008)._
