在CENTOS 8 Stream上的离线安装期间无法安装Freeipa-Server软件包

发布于 2025-01-25 11:51:47 字数 2476 浏览 5 评论 0 原文

这是关于安装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 ~]#

谁能帮助我解决我在这里缺少什么?

This is about installing the freeipa-server package along with its dependencies for an offline install. This I am trying on a CentOS 8 Stream.

I created a CentOS 8 Stream iso will required packages cached. i.e., during ISO installation, no internet is used. At the end of the installation, I have copied all the rpms from dvd into the /repo folder of the local filesystem. Have also pointed the repo conf to use the local repo while trying to look for any packages.

After the iso installation, I have the idm:DL1 module enabled. Below is the output of the command:

[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

After this, I tried installing the freeipa-server using the command:

[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 ~]#

Can anyone help me with what am I missing here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

海夕 2025-02-01 11:51:47

要安装模块化内容,您需要使用模块化命令:

dnf module install idm:DL1/{server,dns}

请参阅官方文档在这里

For installing modular content, you need to use modular commands:

dnf module install idm:DL1/{server,dns}

See official documentation here

情场扛把子 2025-02-01 11:51:47

添加 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文