<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Zarafa WebApp v7.1.11-46050">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>r10k: uninitialized constant Cri::Error</title>
</head>
<body>
<p style="padding: 0; margin: 0;"><span style="font-family: tahoma; font-size: 12pt;">Package: r10k<br />Version: 2.6.3-1<br />Severity: important<br /><br />Dear Maintainer,<br /><br />When running r10k I get the following error today;<br />Traceback (most recent call last):<br />        11: from /usr/bin/r10k:3:in `<main>'<br />        10: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'<br />         9: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'<br />         8: from /usr/lib/ruby/vendor_ruby/r10k/cli.rb:3:in `<top (required)>'<br />         7: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'<br />         6: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'<br />         5: from /usr/lib/ruby/vendor_ruby/r10k/cli/ext/logging.rb:1:in `<top (required)>'<br />         4: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'<br />         3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'<br />         2: from /usr/lib/ruby/vendor_ruby/cri/command_dsl.rb:3:in `<top (required)>'<br />         1: from /usr/lib/ruby/vendor_ruby/cri/command_dsl.rb:6:in `<module:Cri>'<br />/usr/lib/ruby/vendor_ruby/cri/command_dsl.rb:9:in `<class:CommandDSL>': uninitialized constant Cri::Error (NameError)<br />Did you mean?  IOError<br />               Errno<br /><br />This is because the package ruby-cri was upgraded on this system today (from 2.10.1-1 to 2.15.2-1).<br /><br />Upstream this error/behavior is already reported (https://github.com/puppetlabs/r10k/issues/853) and fixed (https://github.com/puppetlabs/r10k/pull/854).<br />Please upgrade the r10k package to a newer version with this fix included, or<br />change the require in lib/r10k/cli/ext/logging.rb to require 'cri' (as<br />described in https://github.com/puppetlabs/r10k/issues/853#issuecomment-424608028)<br /><br />I've tested changing the require to 'cri' myself, and this works.<br /><br />-- System Information:<br />Debian Release: buster/sid<br />  APT prefers testing<br />  APT policy: (500, 'testing')<br />Architecture: amd64 (x86_64)<br /><br />Kernel: Linux 4.18.0-1-amd64 (SMP w/8 CPU cores)<br />Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)<br />Shell: /bin/sh linked to /bin/dash<br />Init: systemd (via /run/systemd/system)<br />LSM: SELinux: enabled - Mode: Permissive - Policy name: default<br /><br />Versions of packages r10k depends on:<br />ii  ruby                1:2.5.1<br />ii  ruby-colored        1.2-2<br />ii  ruby-cri            2.15.2-1<br />ii  ruby-gettext-setup  0.30-2<br />ii  ruby-log4r          1.1.10-4<br />ii  ruby-minitar        0.6.1-1<br />ii  ruby-multi-json     1.12.1-1<br />ii  ruby-puppet-forge   2.2.9-2<br />ii  ruby-rugged         0.27.4+ds-1<br /><br />Versions of packages r10k recommends:<br />ii  git  1:2.20.1-1<br /><br />r10k suggests no packages.<br /><br />-- no debconf information<br /><br /></span></p>
</body>
</html>