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?
For installing modular content, you need to use modular commands:
See official documentation here