在CENTOS 8 Stream上的离线安装期间无法安装Freeipa-Server软件包
这是关于安装Freeipa-Server软件包及其离线安装的依赖项。我正在尝试使用Centos 8流。
我创建了一个CentOS 8 ISO将需要缓存的软件包。即,在ISO安装期间,不使用互联网。在安装结束时,我将所有RPM从DVD复制到本地文件系统的 /repo文件夹中。还指出了仓库conf以便在寻找任何软件包时使用本地存储库。
ISO安装后,我启用了 IDM:DL1
模块。以下是命令的输出:
[root@localhost ~]# dnf module list idm -v
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.7.0
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (CentOS Stream 8; generic; Linux.x86_64)'
repo: using cache for: local-repo-BaseOS
local-repo-BaseOS: using metadata from Fr 29 Apr 2022 09:59:07 EDT.
repo: using cache for: local-repo-AppStream
local-repo-AppStream: using metadata from Fr 29 Apr 2022 09:59:12 EDT.
Last metadata expiration check: 0:46:01 ago on So 01 Mai 2022 08:03:45 EDT.
Local AppStream Repo
Name Stream Profiles Summary
idm DL1 [e] adtrust, client, common [d], dns, server The Red Hat Enterprise Linux Identity Management system module
idm client [d] common [d] RHEL IdM long term support client module
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
此后,我尝试使用命令安装freeipa-server:
[root@localhost ~]# dnf install freeipa-server -v
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.7.0
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (CentOS Stream 8; generic; Linux.x86_64)'
repo: using cache for: local-repo-BaseOS
local-repo-BaseOS: using metadata from Fr 29 Apr 2022 09:59:07 EDT.
repo: using cache for: local-repo-AppStream
local-repo-AppStream: using metadata from Fr 29 Apr 2022 09:59:12 EDT.
Last metadata expiration check: 0:47:05 ago on So 01 Mai 2022 08:03:45 EDT.
All matches were filtered out by modular filtering for argument: freeipa-server
Error: Unable to find a match: freeipa-server
[root@localhost ~]#
谁能帮助我解决我在这里缺少什么?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
要安装模块化内容,您需要使用模块化命令:
请参阅官方文档在这里
For installing modular content, you need to use modular commands:
See official documentation here
添加
module_hotfixes = true
到回购定义有助于解决问题。Packages in locally hosted repository are not seen by dnf
Adding
module_hotfixes=true
to the repo definition helped solve the issue.