如何使用模块包创建本地存储库

如何使用模块包创建本地存储库

我有安装了 Oracle Linux 8 的 VM。我需要使用 nginx 创建本地存储库。但这是一个模块包。我如何从官方存储库下载模块包?如果我使用以下命令下载:

repotrack nginx

然后在安装包时出现错误:

No available modular metadata for modular package 'nginx-1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1.x86_64', it cannot be installed on the system
No available modular metadata for modular package 'nginx-filesystem-1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1.noarch', it cannot be installed on the system
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: No available modular metadata for modular package

相关内容