Apache 无法在oracle linux 7上安装httpd-devel

Apache 无法在oracle linux 7上安装httpd-devel,apache,Apache,嗨,我正在尝试安装httpd-devel 输出结果如下: sudo yum install httpd-devel Loaded plugins: fastestmirror, langpacks, refresh-packagekit, ulninfo, versionlock Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> P

嗨,我正在尝试安装httpd-devel 输出结果如下:

 sudo yum install httpd-devel
Loaded plugins: fastestmirror, langpacks, refresh-packagekit, ulninfo, versionlock
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package httpd-devel.x86_64 0:2.4.6-67.0.1.el7_4.6 will be installed
--> Processing Dependency: httpd = 2.4.6-67.0.1.el7_4.6 for package: httpd-devel-2.4.6-67.0.1.el7_4.6.x86_64
--> Finished Dependency Resolution
Error: Package: httpd-devel-2.4.6-67.0.1.el7_4.6.x86_64 (ol7_u4_patch)
           Requires: httpd = 2.4.6-67.0.1.el7_4.6
           Installed: httpd-2.4.6-93.0.1.el7.x86_64 (@7_peo_latest)
               httpd = 2.4.6-93.0.1.el7
           Available: httpd-2.4.6-67.0.1.el7.x86_64 (ol7_u4_base)
               httpd = 2.4.6-67.0.1.el7
           Available: httpd-2.4.6-67.0.1.el7_4.2.x86_64 (ol7_u4_patch)
               httpd = 2.4.6-67.0.1.el7_4.2
           Available: httpd-2.4.6-67.0.1.el7_4.5.x86_64 (ol7_u4_patch)
               httpd = 2.4.6-67.0.1.el7_4.5
           Available: httpd-2.4.6-67.0.1.el7_4.6.x86_64 (ol7_u4_patch)
               httpd = 2.4.6-67.0.1.el7_4.6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我无法解决此问题。请有人使用下面的命令帮助安装httpd-devel及其依赖项

yum install httpd*

上述命令不起作用。。在末尾添加*会引发错误yum:no match。。删除*有效,但问题不同。如果您仔细查看错误要求:httpd=2.4.6-67.0.1.el7_4.6,并且httpd已随httpd-2.4.6-93.0.1.el7.x86_64一起安装,为什么它会在最新版本中给出错误您使用的repo?看起来repo包含httpd-devel 2.4.6-67,这就是它试图安装旧的httpd(2.4.6-67)包的原因。您可以使用--skip-breaked选项来安装httpd-devel包,而无需依赖项。