[Pkg-puppet-devel] Bug#1119942: r10k: cannot load such file -- archive/tar/minitar

Marcus Better marcus at better.se
Sun Nov 2 16:12:51 GMT 2025


Package: r10k
Version: 5.0.0-2
Severity: grave

Dear Maintainer,

Starting r10k fails as follows:

> r10k
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- archive/tar/minitar (LoadError)
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/puppet_forge/tar/mini.rb:2:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/puppet_forge/tar.rb:4:in `<class:Tar>'
        from /usr/lib/ruby/vendor_ruby/puppet_forge/tar.rb:3:in `<module:PuppetForge>'
        from /usr/lib/ruby/vendor_ruby/puppet_forge/tar.rb:2:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/puppet_forge.rb:21:in `<module:PuppetForge>'
        from /usr/lib/ruby/vendor_ruby/puppet_forge.rb:3:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/module/base.rb:3:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/module.rb:50:in `<module:Module>'
        from /usr/lib/ruby/vendor_ruby/r10k/module.rb:3:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/module_loader/puppetfile.rb:3:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/environment/base.rb:3:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/environment.rb:31:in `<module:Environment>'
        from /usr/lib/ruby/vendor_ruby/r10k/environment.rb:2:in `<module:R10K>'
        from /usr/lib/ruby/vendor_ruby/r10k/environment.rb:1:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/source/git.rb:2:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/source.rb:36:in `<module:Source>'
        from /usr/lib/ruby/vendor_ruby/r10k/source.rb:6:in `<module:R10K>'
        from /usr/lib/ruby/vendor_ruby/r10k/source.rb:5:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/deployment.rb:1:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/cli/deploy.rb:2:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/lib/ruby/vendor_ruby/r10k/cli.rb:48:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from /usr/bin/r10k:3:in `<main>'

Any commands like "r10k puppetfile install" fail in the same way,
rendering the package unusable.

Likely related to upstream bug:
https://github.com/puppetlabs/r10k/issues/443


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.7+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages r10k depends on:
ii  ruby                1:3.3+b1
ii  ruby-colored2       4.0.0-1
ii  ruby-cri            2.15.12-1
ii  ruby-gettext-setup  0.34-2
ii  ruby-jwt            2.7.1-1
ii  ruby-log4r          1.1.10-5
ii  ruby-minitar        1.1.0-1
ii  ruby-multi-json     1.15.0-1
ii  ruby-puppet-forge   5.0.3-1
ii  ruby-rugged         1.9.0+ds-1

Versions of packages r10k recommends:
ii  git  1:2.51.0-1

r10k suggests no packages.

-- no debconf information



More information about the Pkg-puppet-devel mailing list