sensu-chef icon indicating copy to clipboard operation
sensu-chef copied to clipboard

issue while installing sensu through chef

Open ff-pjha opened this issue 6 years ago • 3 comments

Recipe: erlang::esl * yum_package[esl-erlang] action install

       ================================================================================
       Error executing action `install` on resource 'yum_package[esl-erlang]'
       ================================================================================
      
       Chef::Exceptions::Exec
       ----------------------

yum -d0 -e0 -y install esl-erlang-20.1-1 returned 1: STDOUT: You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

       STDERR: Error: Package: wxGTK-gl-2.8.12-1.el6.x86_64 (epel)
           Requires: libgdk-x11-2.0.so.0()(64bit)
       Error: Package: wxGTK-gl-2.8.12-1.el6.x86_64 (epel)
           Requires: libatk-1.0.so.0()(64bit)
       Error: Package: wxGTK-gl-2.8.12-1.el6.x86_64 (epel)
           Requires: libgtk-x11-2.0.so.0()(64bit)
       Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
           Requires: libgdk-x11-2.0.so.0()(64bit)
       Error: Package: wxGTK-gl-2.8.12-1.el6.x86_64 (epel)
           Requires: libgdk_pixbuf-2.0.so.0()(64bit)
       Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
           Requires: libSDL-1.2.so.0()(64bit)
       Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
           Requires: libatk-1.0.so.0()(64bit)
       Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
           Requires: libgdk_pixbuf-2.0.so.0()(64bit)
       Error: Package: wxGTK-2.8.12-1.el6.x86_64 (epel)
           Requires: libgtk-x11-2.0.so.0()(64bit)

ff-pjha avatar Oct 30 '17 17:10 ff-pjha

I had overridden the attribute- ['erlang']['install_method']='esl' to force_override['erlang']['install_method'] = 'package', and then its working fine.

ff-pjha avatar Oct 30 '17 17:10 ff-pjha

We should look into what's going wrong, the versions packaged by most OS vendors are often quite old. That being said the upstream cookbook seems to be using a mirror that has not been updated in a while. I think we might want to raise an issue there. @cwjohnston any other insight? I just took a quick look and did not really run this to ground.

majormoses avatar Oct 30 '17 23:10 majormoses

In my rabbitmq cookbook I specify this repo: https://packages.erlang-solutions.com/ubuntu, we might want to propose switching to https://packages.erlang-solutions.com/rpm/ rather than a github account that requires someone to push to (and are clearly not).

majormoses avatar Oct 31 '17 00:10 majormoses