问题遇到的现象和发生背景
运行:
yum install -y OpenIPMI-modalias-2.0.27-1.el7.x86_64.rpm
结果是需要2.0.23版本?因缺OpenIPMI-devel,但是现在市面上可以找到的只有2.0.27版本,没有2.0.23版本。
用代码块功能插入代码,请勿粘贴截图
运行结果及报错内容
Loaded plugins: fastestmirror
Examining OpenIPMI-modalias-2.0.27-1.el7.x86_64.rpm: OpenIPMI-modalias-2.0.27-1.el7.x86_64
Marking OpenIPMI-modalias-2.0.27-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package OpenIPMI-modalias.x86_64 0:2.0.27-1.el7 will be installed
--> Processing Dependency: OpenIPMI for package: OpenIPMI-modalias-2.0.27-1.el7.x86_64
Loading mirror speeds from cached hostfile
--> Running transaction check
---> Package OpenIPMI.x86_64 0:2.0.23-2.el7 will be installed
--> Processing Dependency: OpenIPMI-libs = 2.0.23-2.el7 for package: OpenIPMI-2.0.23-2.el7.x86_64
--> Processing Dependency: libOpenIPMIutils.so.0()(64bit) for package: OpenIPMI-2.0.23-2.el7.x86_64
--> Processing Dependency: libOpenIPMIui.so.1()(64bit) for package: OpenIPMI-2.0.23-2.el7.x86_64
--> Processing Dependency: libOpenIPMIposix.so.0()(64bit) for package: OpenIPMI-2.0.23-2.el7.x86_64
--> Processing Dependency: libOpenIPMIglib.so.0()(64bit) for package: OpenIPMI-2.0.23-2.el7.x86_64
--> Processing Dependency: libOpenIPMIcmdlang.so.0()(64bit) for package: OpenIPMI-2.0.23-2.el7.x86_64
--> Processing Dependency: libOpenIPMI.so.0()(64bit) for package: OpenIPMI-2.0.23-2.el7.x86_64
--> Running transaction check
---> Package OpenIPMI-libs.x86_64 0:2.0.23-2.el7 will be installed
--> Processing Dependency: OpenIPMI-modalias = 2.0.23-2.el7 for package: OpenIPMI-libs-2.0.23-2.el7.x86_64
--> Finished Dependency Resolution
Error: Package: OpenIPMI-libs-2.0.23-2.el7.x86_64 (local)
Requires: OpenIPMI-modalias = 2.0.23-2.el7
Available: OpenIPMI-modalias-2.0.23-2.el7.x86_64 (local)
OpenIPMI-modalias = 2.0.23-2.el7
You could try using --skip-broken to work around the problem
** Found 17 pre-existing rpmdb problem(s), 'yum check' output follows:
autogen-5.18-5.el7.x86_64 has missing requires of autogen-libopts(x86-64) = ('0', '5.18', '5.el7')
autogen-5.18-5.el7.x86_64 has missing r