How to fix Error: Failed to synchronize cache for repo 'rhui-codeready-builder-for-rhel-8-x86_64-rhui-rpms'
I'm configuring self-hosted agent on Azure VM(RHEL 8.0) But on ./config.sh step -- I encounter the below error /bin/yum Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-man ager to register. Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) from RHUI 0.0 B/s | 0 B 00:03 Error: Failed to synchronize cache for repo 'rhui-codeready-builder-for-rhel-8-x86_64-rhui-rpms' 'yum' failed with exit code '0' Can't install dotnet core dependencies. Please make sure that required repositories are connected for relevant package installer. For issues with dependencies installation (like 'dependency was not found in repository' or 'problem retrieving the repository index file') - you can reach out to distribution owner for futher support. You can manually install all required dependencies based on following documentation https://docs.microsoft.com/dotnet/core/install/linux Hence I install dotnet, which on run fails [>>>myagent]$ sudo yum install dotnet-install.sh Result- Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) from RHUI 0.0 B/s | 0 B 00:03 Error: Failed to synchronize cache for repo 'rhui-codeready-builder-for-rhel-8-x86_64-rhui-rpms' Note - There is no RHEL8 subscription to make use of subscription-manager cmd How can the Error : Failed to synchronize cache be resolved?