"Unsatisfiable requirements detected" error with unregistered packages

Can someone help me understand what this means?

(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:

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…

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

I just changed it - same error.

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.

1 Like

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?

Arcs manifest is not used (unless you activate that project specifically). Issues to track: 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

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

https://github.com/JuliaLang/Pkg.jl/issues/819 maybe. Although

is pretty clear, no?

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.

2 Likes