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)
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
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.
Use sudo yum or elevate to root for aws rhel 8; no need to use dnf (although trying to download a package using dnf did make me realize I didn't have enough permissions).
With RedHat 7 or 8, one way to clean all those caches is to run this command as Sudo
For those wondering why “yum clean” or “yum clean all” does not clean/remove all caches. It is because “yum clean” or “yum clean all” only removes the cache of repositories which are enabled in /etc/yum.repos.d/*.repo. In other words, cache that are either presently deactivated or from previous RedHat version will not be clear. This is per Yum manual. Which reads: « Note that "all files" in the commands below means "all files in currently enabled repositories". » Source at http://man7.org/linux/man-pages/man8/yum.8.html#CLEAN_OPTIONS
For CentOS 8 run
Then you can install everything else.