[Pkg-puppet-devel] Bug#866972: Bug#866972: unable to run puppet due to locale loading error
Apollon Oikonomopoulos
apoikos at debian.org
Mon Jul 3 14:23:07 UTC 2017
Control: severity -1 serious
Control: tags -1 pending
Hi Vincent and thanks for the report!
On 08:35 Mon 03 Jul , Vincent Bernat wrote:
> Hey!
>
> After upgrading to 4.10, I get this error running Puppet:
>
> /usr/lib/ruby/2.3.0/psych.rb:474:in `initialize': No such file or directory @ rb_sysopen - /usr/share/locale/config.yaml (Errno::ENOENT)
> from /usr/lib/ruby/2.3.0/psych.rb:474:in `open'
> from /usr/lib/ruby/2.3.0/psych.rb:474:in `load_file'
> from /usr/lib/ruby/vendor_ruby/gettext-setup/gettext_setup.rb:14:in `initialize'
> from /usr/lib/ruby/vendor_ruby/puppet.rb:91:in `singleton class'
> from /usr/lib/ruby/vendor_ruby/puppet.rb:87:in `<module:Puppet>'
> from /usr/lib/ruby/vendor_ruby/puppet.rb:81:in `<top (required)>'
> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:12:in `<top (required)>'
> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /usr/bin/puppet:4:in `<main>'
>
> This is similar to those bug reports:
> - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832529
> - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832118
>
> Unfortunately, this kind of bug has to be fixed in each package.
So, this is only triggered when ruby-gettext-setup is installed in the
system, that's why the autopkgtests didn't catch it.
I'll change the load path, but will not add a dependency to
ruby-gettext-setup (yet), as puppet currently has no real translations.
Cheers,
Apollon
More information about the Pkg-puppet-devel
mailing list