# 'Package' depends on 'Dependency', but no such entry exists in the manifest

**URL:** <https://discourse.julialang.org/t/package-depends-on-dependency-but-no-such-entry-exists-in-the-manifest/68808>\
**Category:** Package Management\
**Created:** [September 27, 2021, 1:31pm UTC](https://discourse.julialang.org/t/package-depends-on-dependency-but-no-such-entry-exists-in-the-manifest/68808 "2021-09-27T13:31:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thompsonmj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thompsonmj/32/25172_2.png) [@thompsonmj](https://discourse.julialang.org/u/thompsonmj)\
**Post date:** [September 27, 2021, 1:31pm UTC](https://discourse.julialang.org/t/package-depends-on-dependency-but-no-such-entry-exists-in-the-manifest/68808/1 "2021-09-27T13:31:45Z")

</div>

This seems to have become an issue randomly over the weekend. I try to activate an environment and am met with:

```julia
ERROR: `ModelingToolkit=961ee093-0014-501f-94e3-6117800e7a78` depends on `SafeTestsets`, but no such entry exists in the manifest.

```

From the half-activated environment, I’ve tried doing

```julia
pkg> rm ModelingToolkit

```

to uninstall and reinstall MTK, but the same error appears.

How can I reset this?

---

<div class="post-metadata">

**Author:** ![StevenWhitaker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevenwhitaker/32/9749_2.png) [@StevenWhitaker](https://discourse.julialang.org/u/StevenWhitaker)\
**Post date:** [September 27, 2021, 1:48pm UTC](https://discourse.julialang.org/t/package-depends-on-dependency-but-no-such-entry-exists-in-the-manifest/68808/2 "2021-09-27T13:48:01Z")

</div>

`$ rm Manifest.toml` and `pkg> instantiate` the environment again? Or maybe keep a copy of `Manifest.toml` so you can restore the correct versions of the non-missing Manifest entries.

---

<div class="post-metadata">

**Author:** ![thompsonmj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thompsonmj/32/25172_2.png) [@thompsonmj](https://discourse.julialang.org/u/thompsonmj)\
**Post date:** [September 27, 2021, 2:15pm UTC](https://discourse.julialang.org/t/package-depends-on-dependency-but-no-such-entry-exists-in-the-manifest/68808/3 "2021-09-27T14:15:50Z")

</div>

Cool, it seems to be running smoothly again!
