Redhat – yum repo sync “Error: Failed to synchronize cache for repo ‘rhui-client-config-server-8′”

amazon-web-servicesredhatrhel8yum

While doing yum provides or yum update on AWS Instance of RHEL 8.0 (Ootpa) a "rhui-client-config-server-8" repository giving Failed to Synchronize error.

Steps followed

  • yum clean cache (no success)
  • yum clean all (no success)

Best Answer

RHEL 8 is based on dnf (dandified YUM), so you would want to use "dnf clean cache" or "dnf clean all" instead of yum. Additionally, if that didn't work, you would want to look in /var/cache/dnf rather than /var/cache/yum.