简体   繁体   English

监视yum / rpm软件包冲突

[英]Monitor for yum / rpm package conflicts

We want to write a Icinga monitor to catch rpm package conflicts. 我们要编写一个Icinga监视器来捕获rpm包冲突。 eg from a "yum update": 例如来自“ yum更新”:

--> 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? 有没有一种方法可以独立于“ yum update”命令来运行“依赖关系解决方案”? Or some other way to force yum to resolve the dependencies without installing or downloading anything in case of no error? 还是通过其他方法强制yum在没有错误的情况下无需安装或下载任何东西即可解决依赖关系?

You can try with command yum update --assumeno . 您可以尝试使用yum update --assumeno命令。
This command will download just repodata, not packages itself. 此命令将仅下载repodata,而不打包自身。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM