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

Dependencies are met and yet puppet module says, dependencies can't be met? #94

Open
bitvijays opened this issue Jan 31, 2023 · 0 comments

Comments

@bitvijays
Copy link

bitvijays commented Jan 31, 2023

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7.21.0
  • Ruby:
  • Distribution: Linux puppet.bitvijays.local 5.10.0-20-cloud-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux
  • Module version:

How to reproduce (e.g Puppet code you use)

  • Install fresh Puppet and install modules?

What are you seeing

Dependencies are met and yet puppet module says, dependencies can't be met?

What behaviour did you expect instead

Installed without dependencies issues? Is there a better way of installing modules / fixing dependencies?

Output log

Puppet-kmod

root@puppet:~# puppet module install puppet-kmod --debug
Debug: Runtime environment: puppet_version=7.21.0, ruby_version=2.7.7, run_mode=user, default_encoding=UTF-8
Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Debug: Could not find library 'pe_license' required to enable feature 'pe_license'
Debug: Creating new connection for https://forgeapi.puppet.com:443
Debug: Starting connection for https://forgeapi.puppet.com:443
Debug: Using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256
Debug: HTTP GET https://forgeapi.puppet.com/v3/releases?module=puppet-kmod&sort_by=version&exclude_fields=readme%2Cchangelog%2Clicense%2Curi%2Cmodule%2Ctags%2Csupported%2Cfile_size%2Cdownloads%2Ccreated_at%2Cupdated_at%2Cdeleted_at returned 200 OK
Debug: Caching connection for https://forgeapi.puppet.com:443
Debug: Using cached connection for https://forgeapi.puppet.com:443
Debug: HTTP GET https://forgeapi.puppet.com/v3/releases?module=puppetlabs-stdlib&sort_by=version&exclude_fields=readme%2Cchangelog%2Clicense%2Curi%2Cmodule%2Ctags%2Csupported%2Cfile_size%2Cdownloads%2Ccreated_at%2Cupdated_at%2Cdeleted_at returned 200 OK
Debug: Caching connection for https://forgeapi.puppet.com:443
Debug: Using cached connection for https://forgeapi.puppet.com:443
Debug: HTTP GET https://forgeapi.puppet.com/v3/releases?module=puppetlabs-stdlib&sort_by=version&exclude_fields=readme%2Cchangelog%2Clicense%2Curi%2Cmodule%2Ctags%2Csupported%2Cfile_size%2Cdownloads%2Ccreated_at%2Cupdated_at%2Cdeleted_at&limit=20&offset=20 returned 200 OK
Debug: Caching connection for https://forgeapi.puppet.com:443
Debug: Using cached connection for https://forgeapi.puppet.com:443
Debug: HTTP GET https://forgeapi.puppet.com/v3/releases?module=puppetlabs-stdlib&sort_by=version&exclude_fields=readme%2Cchangelog%2Clicense%2Curi%2Cmodule%2Ctags%2Csupported%2Cfile_size%2Cdownloads%2Ccreated_at%2Cupdated_at%2Cdeleted_at&limit=20&offset=40 returned 200 OK
Debug: Caching connection for https://forgeapi.puppet.com:443
Debug: Using cached connection for https://forgeapi.puppet.com:443
Debug: HTTP GET https://forgeapi.puppet.com/v3/releases?module=puppetlabs-stdlib&sort_by=version&exclude_fields=readme%2Cchangelog%2Clicense%2Curi%2Cmodule%2Ctags%2Csupported%2Cfile_size%2Cdownloads%2Ccreated_at%2Cupdated_at%2Cdeleted_at&limit=20&offset=60 returned 200 OK
Debug: Caching connection for https://forgeapi.puppet.com:443
Info: Resolving dependencies ...
Error: Could not install module 'puppet-kmod' (v3.2.0)
  The requested version cannot satisfy one or more of the following installed modules:
    puppetlabs-stdlib, installed: 8.5.0, expected: >= 5.0.0 < 9.0.0

  Use `puppet module install 'puppet-kmod' --ignore-dependencies` to install only this module

Puppet-archive

root@puppet:~# puppet module install puppet-archive
Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Error: Could not install module 'puppet-archive' (v6.1.1)
  The requested version cannot satisfy one or more of the following installed modules:
    puppetlabs-stdlib, installed: 8.5.0, expected: >= 4.18.0 < 9.0.0

  Use `puppet module install 'puppet-archive' --ignore-dependencies` to install only this module

puppetlabs-apt

root@puppet:~# puppet module install puppetlabs-apt
Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Error: Could not install module 'puppetlabs-apt' (v9.0.1)
  The requested version cannot satisfy one or more of the following installed modules:
    puppetlabs-stdlib, installed: 8.5.0, expected: >= 4.16.0 < 9.0.0

  Use `puppet module install 'puppetlabs-apt' --ignore-dependencies` to install only this module
@bitvijays bitvijays changed the title Dependencies not correctly checked? | Not sure why this is happening? Dependencies are met and yet puppet module says, dependencies can't be met? Jan 31, 2023
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

1 participant