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
Affected Puppet, Ruby, OS and module versions/distributions
Linux puppet.bitvijays.local 5.10.0-20-cloud-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux
How to reproduce (e.g Puppet code you use)
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
Puppet-archive
puppetlabs-apt