Installing personal packages that depend on other personal packages on Linux

Hi people,

I have created 2 packages that are at my personal git repository. Package A depends on package B. However, when I try to install package A I get the following error message:

    Cloning git-repo ``
   Updating git-repo ``
  Resolving package versions...
ERROR: Unsatisfiable requirements detected for package B [56890975]:
 B [56890975] log:
 ├─B [56890975] has no known versions!
 └─restricted to versions * by A [ed9305e7] — no versions left
   └─A [ed9305e7] log:
     ├─possible versions are: 0.1.0 or uninstalled
     └─A [ed9305e7] is fixed to version 0.1.0

Package B is on Package A’s Manifesto.toml. So I thought package B would be automatically installed if I just asked for the installation of A.

Did any one experienced something like this before?

Thanks in advance for any help!


You just have to add B first, or even better, install them in the same command.


Thanks @fredrikekre for your answer.

Indeed that is what I am doing currently. But I just thought that it shouldn’t be like this why we have “Manifesto.toml”, right?

Also it is strange that it doesn’t happen with “registered packages”.


Not exactly; when you use the package as a package in another environment the package Manifest.toml is not used. (See though, which will make this smoother).

No, because registered packages has (by definition) registered versions in the registry that the package manager can find. This is not the case with your B package, and hence this part of the error message:

 ├─B [56890975] has no known versions!

Ohhhh now I see. thanks for the reference and for clarifying it. :slight_smile: