# "Unsatisfiable requirements detected" error with unregistered packages

**URL:** <https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307>\
**Category:** General Usage\
**Tags:** pkg\
**Created:** [October 14, 2018, 2:22pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307 "2018-10-14T14:22:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![crbinz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/crbinz/32/1919_2.png) [@crbinz](https://discourse.julialang.org/u/crbinz)\
**Post date:** [October 14, 2018, 2:22pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/1 "2018-10-14T14:22:38Z")

</div>

Can someone help me understand what this means?

```julia
(v0.7) pkg> add "git@<snippedurl>:cbinz/Arc.jl"
  Updating git-repo `git@<snippedurl>:cbinz/Arc.jl`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package UKF [cf5904de]:
 UKF [cf5904de] log:
 ├─UKF [cf5904de] has no known versions!
 └─restricted to versions * by Arc [277a4cca] — no versions left
   └─Arc [277a4cca] log:
     ├─possible versions are: 1.0.0 or uninstalled
     └─Arc [277a4cca] is fixed to version 1.0.0

```

Here’s the `UKF.jl` `Project.toml`:

```julia
name = "UKF"
uuid = "cf5904de-cdc3-11e8-a8d5-f2801f1b9fd1"
version = "1.0"
author = ["Chris Binz <>"]

[deps]
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

```

and the `Arc.jl` `Project.toml` has a line under `[deps]` with `UKF = "cf5904de-cdc3-11e8-a8d5-f2801f1b9fd1"`.

So, I’m not sure what I’m missing…

---

<div class="post-metadata">

**Author:** ![y4lu](https://avatars.discourse-cdn.com/v4/letter/y/47e85d/32.png) [@y4lu](https://discourse.julialang.org/u/y4lu)\
**Post date:** [October 14, 2018, 2:41pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/2 "2018-10-14T14:41:15Z")

</div>

It wouldn’t need to be `version = "1.0.0"`?

---

<div class="post-metadata">

**Author:** ![crbinz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/crbinz/32/1919_2.png) [@crbinz](https://discourse.julialang.org/u/crbinz)\
**Post date:** [October 14, 2018, 2:45pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/3 "2018-10-14T14:45:27Z")

</div>

I just changed it - same error.

---

<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 14, 2018, 3:52pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/4 "2018-10-14T15:52:46Z")

</div>

The problem is that, since `UKF` is not registered `Pkg` does not know what that references. You need to explicitly `add UKF` somehow before you add a package `Arc` that depends on it.

---

<div class="post-metadata">

**Author:** ![crbinz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/crbinz/32/1919_2.png) [@crbinz](https://discourse.julialang.org/u/crbinz)\
**Post date:** [October 14, 2018, 4:00pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/5 "2018-10-14T16:00:09Z")

</div>

Thanks. But, when I added `UKF` to the `Arc` project, that generated an entry in `Arc`’s `Manifest.toml` that specifies `repo-url` for `UKF`, so why would that not be sufficient?

---

<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 14, 2018, 4:01pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/6 "2018-10-14T16:01:53Z")

</div>

`Arc`s manifest is not used (unless you activate that project specifically). Issues to track: [https://github.com/JuliaLang/Pkg.jl/issues/492](https://github.com/JuliaLang/Pkg.jl/issues/492) and maybe [Can't have a registered package depend on an unregistered repository · Issue #810 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/issues/810)

---

<div class="post-metadata">

**Author:** ![crbinz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/crbinz/32/1919_2.png) [@crbinz](https://discourse.julialang.org/u/crbinz)\
**Post date:** [October 14, 2018, 4:04pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/7 "2018-10-14T16:04:40Z")

</div>

… ok. Thank you. Is there also an issue to track to change that fairly uninformative error message?

---

<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 14, 2018, 4:11pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/8 "2018-10-14T16:11:01Z")

</div>

[Better resolver failure messages · Issue #819 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/issues/819) maybe. Although

> [@crbinz](#):
>
> UKF [cf5904de] has no known versions!

is pretty clear, no?

---

<div class="post-metadata">

**Author:** ![crbinz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/crbinz/32/1919_2.png) [@crbinz](https://discourse.julialang.org/u/crbinz)\
**Post date:** [October 14, 2018, 4:13pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-error-with-unregistered-packages/16307/9 "2018-10-14T16:13:16Z")

</div>

Well, all I can say is that it’s not for me, since I spent the better part of this weekend trying to troubleshoot this. I didn’t know what else to check besides a `version = ` line in `UKF`’s `Project.toml`, which was there.

It seems the root problem was that `UKF` couldn’t be found at all.
