yum fails with Failed to synchronize cache for repo xxx
Issue
-
Hosts registered to Red Hat Satellite server fails to get packages/updates while using yum. It fails with following error without sensible information.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 649 B/s | 224 B 00:00 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 635 B/s | 224 B 00:00 Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo. Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo.
Environment
- Red Hat Enterprise Linux 8
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.