Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyclic dependencies when installing with Librarian-Puppet #151

Closed
madAndroid opened this issue Jan 4, 2018 · 0 comments
Closed

Cyclic dependencies when installing with Librarian-Puppet #151

madAndroid opened this issue Jan 4, 2018 · 0 comments

Comments

@madAndroid
Copy link
Contributor

Originally opened as choria-legacy/mcollective-choria#381 - reopening here, as the change affects this module.

When I create a Puppetfile with the following content:

mod 'choria/mcollective_choria', '0.5.0'

Librarian-Puppet fails to resolve the dependencies.
This appears to be caused by cyclic dependencies being found: choria-mcollective lists choria-mcollective_choria as one of it's dependencies, so it backtracks until it can find a valid version, but fails, at which point Librarian cannot continue.

[Librarian]   Module choria-mcollective found versions: 0.3.0, 0.2.1, 0.2.0, 0.1.0, 0.0.29, 0.0.28, 0.0.27, 0.0.26, 0.0.25, 0.0.24
[Librarian]     Checking choria-mcollective/0.3.0 <https://forgeapi.puppetlabs.com>
[Librarian]       Cycle with choria-mcollective/0.3.0 <https://forgeapi.puppetlabs.com>
[Librarian]       Backtracking from choria-mcollective/0.3.0 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.2.1 <https://forgeapi.puppetlabs.com>
[Librarian]       Cycle with choria-mcollective/0.2.1 <https://forgeapi.puppetlabs.com>
[Librarian]       Backtracking from choria-mcollective/0.2.1 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.2.0 <https://forgeapi.puppetlabs.com>
[Librarian]       Cycle with choria-mcollective/0.2.0 <https://forgeapi.puppetlabs.com>
[Librarian]       Backtracking from choria-mcollective/0.2.0 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.1.0 <https://forgeapi.puppetlabs.com>
[Librarian]       Conflict between choria-mcollective/0.1.0 <https://forgeapi.puppetlabs.com> and choria-mcollective (< 2.0.0, >= 0.2.0) <(no source specified)>
[Librarian]       Backtracking from choria-mcollective/0.1.0 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.0.29 <https://forgeapi.puppetlabs.com>
[Librarian]       Conflict between choria-mcollective/0.0.29 <https://forgeapi.puppetlabs.com> and choria-mcollective (< 2.0.0, >= 0.2.0) <(no source specified)>
[Librarian]       Backtracking from choria-mcollective/0.0.29 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.0.28 <https://forgeapi.puppetlabs.com>
[Librarian]       Conflict between choria-mcollective/0.0.28 <https://forgeapi.puppetlabs.com> and choria-mcollective (< 2.0.0, >= 0.2.0) <(no source specified)>
[Librarian]       Backtracking from choria-mcollective/0.0.28 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.0.27 <https://forgeapi.puppetlabs.com>
[Librarian]       Conflict between choria-mcollective/0.0.27 <https://forgeapi.puppetlabs.com> and choria-mcollective (< 2.0.0, >= 0.2.0) <(no source specified)>
[Librarian]       Backtracking from choria-mcollective/0.0.27 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.0.26 <https://forgeapi.puppetlabs.com>
[Librarian]       Conflict between choria-mcollective/0.0.26 <https://forgeapi.puppetlabs.com> and choria-mcollective (< 2.0.0, >= 0.2.0) <(no source specified)>
[Librarian]       Backtracking from choria-mcollective/0.0.26 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.0.25 <https://forgeapi.puppetlabs.com>
[Librarian]       Conflict between choria-mcollective/0.0.25 <https://forgeapi.puppetlabs.com> and choria-mcollective (< 2.0.0, >= 0.2.0) <(no source specified)>
[Librarian]       Backtracking from choria-mcollective/0.0.25 <https://forgeapi.puppetlabs.com>
[Librarian]     Checking choria-mcollective/0.0.24 <https://forgeapi.puppetlabs.com>
[Librarian]       Conflict between choria-mcollective/0.0.24 <https://forgeapi.puppetlabs.com> and choria-mcollective (< 2.0.0, >= 0.2.0) <(no source specified)>
[Librarian]       Backtracking from choria-mcollective/0.0.24 <https://forgeapi.puppetlabs.com>
[Librarian]   Failed to resolve choria-mcollective (< 2.0.0, >= 0.2.0) <(no source specified)>
madAndroid added a commit to Ascendant-Systems/puppet-mcollective that referenced this issue Jan 4, 2018
ripienaar added a commit that referenced this issue Jan 5, 2018
(#151) Remove dependency on choria/mcollective_choria to fix cyclic dependency issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants