# sudo dnf clean all
Updating Subscription Management repositories.
17 files removed
# sudo subscription-manager clean
All local data removed
# sudo vi /etc/yum/pluginconf.d/subscription-manager.conf
# sudo dnf repolist
No repositories available
# sudo dnf install nfs-utils
Error: There are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d”.
When I checked back to the redht.repo. It’s empty file.
You need to copy RHEL 9 ISO file to your system and then use mount command to mount it.
]]>“We are assuming RHEL 9 iso file is already copied into the system. Run following mount command to mount ISO file on /opt/repo folder.”
]]>