sensu-plugins / sensu-plugins-aws

This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
http://sensu-plugins.io
MIT License
81 stars 143 forks source link

DependencyResolutionError when trying to install #277

Open arthurzenika opened 6 years ago

arthurzenika commented 6 years ago

I'm getting the following error when trying to install sensu-plugins-aws :

ERROR:  While executing gem ... (Gem::DependencyResolutionError)
                  conflicting dependencies mime-types (~> 3.0) and mime-types (< 3.0, >= 1.16)
                Activated mime-types-1.16 via:
                  mime-types-1.16 (< 3.0, >= 1.16), rest-client-1.8.0 (= 1.8.0), sensu-plugins-aws-11.3.0 (= 11.3.0)
                instead of (~> 3.0) via:
                  google-api-client-0.19.1 (~> 0.19.1), fog-google-1.3.3 (>= 0.0.2), fog-1.32.0 (= 1.32.0), sensu-plugins-aws-11.3.0 (= 11.3.0)

This used to work, has a dependency changed or is it my machine that has something wrong ?

arthurzenika commented 6 years ago

This is probably not the right solution but downgrading to 10.0.0 works

  306  gem install fog-google --version=0.6.0
  307  gem install mime-types --version=2.99.3
  308  gem install sensu-plugins-aws --version=10.0.0

on debian jessie with

# gem --version
2.2.2