Search code examples
centosrpmyumnagiosicinga2

Monitor for yum / rpm package conflicts


We want to write a Icinga monitor to catch rpm package conflicts. e.g. from a "yum update":

--> Finished Dependency Resolution
Error: git2u-core conflicts with git-1.8.3.1-20.el7.x86_64

Is there a way to run the "Dependency Resolution" independently of the "yum update" command? Or some other way to force yum to resolve the dependencies without installing or downloading anything in case of no error?


Solution

  • You can try with command yum update --assumeno.
    This command will download just repodata, not packages itself.