在CentOS 8中的本地存储库上安装httpd

问题描述

我有一台具有Internet连接的centos8服务器,我参考this discussion并为 httpd 创建本地存储库。我将本地存储库复制到新的centos8服务器(此服务器尚未安装 httpd )。当我运行命令:yum --disablerepo=\* --enablerepo=offline-httpd install httpd时出现错误

No available modular Metadata for modular package 'httpd-2.4.37-21.module_el8.2.0+494+1df74eae.x86_64',it cannot be installed on the system
No available modular Metadata for modular package 'httpd-filesystem-2.4.37-21.module_el8.2.0+494+1df74eae.noarch',it cannot be installed on the system
No available modular Metadata for modular package 'httpd-tools-2.4.37-21.module_el8.2.0+494+1df74eae.x86_64',it cannot be installed on the system
No available modular Metadata for modular package 'mod_http2-1.11.3-3.module_el8.2.0+486+c01050f0.1.x86_64',it cannot be installed on the system
Error: No available modular Metadata for modular package

但是,如果我将此本地存储库复制到其他已安装httpd并已删除的计算机,则可以成功安装。 我花了很多时间进行调查,但我还不了解。谁能帮忙解释一下?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)