When trying to run dnf update or yum update when installing from ISO, it returns the following error:
Error: Failed to download metadata for repo 'cloudlinux-x86_64-server-8':
Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
- CloudLinux OS 8
- Installation from ISO
1. Run the following commands to fix the repository issue:
/usr/bin/yum clean all
2. Run yum update.
CloudLinux OS 8 images may contain obsolete data that was obtained or created without the license being fully activated. Clearing out the yum cache and ensuring the license is updated will resolve the issue.