dnf repolist command is failing with the Error: Cache-only enabled but no cache for 'rhel-8-for-x86_64-appstream-rpms' on RHEL8 client registered to Red Hat Satellite 6.5.
Issue
dnf repolistoryum repolistresulting in below error on RHEL 8 client :
Updating Subscription Management repositories.
Error: Cache-only enabled but no cache for 'rhel-8-for-x86_64-appstream-rpms'
- While running
dnf repolistcommand on RHEL 8 client getting errorfailed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo.
Environment
- Red Hat Satellite 6.5
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.