Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue while installing sensu through chef #584

Open
ff-pjha opened this issue Oct 30, 2017 · 3 comments
Open

issue while installing sensu through chef #584

ff-pjha opened this issue Oct 30, 2017 · 3 comments

Comments

@ff-pjha
Copy link

ff-pjha commented Oct 30, 2017

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
Copy link
Author

ff-pjha commented Oct 30, 2017

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

@majormoses
Copy link
Contributor

majormoses commented Oct 30, 2017

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
Copy link
Contributor

majormoses commented Oct 31, 2017

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants