If you cannot install or update software via yum and you see 404 errors like this:
http://repo.cloudlinux.com/kernelcare/7.4/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found http://repo.cloudlinux.com/other/cl7.3/mysqlmeta/cl-mariadb-10.1/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
try to clean yum cache first; sometimes, the current repository data doesn't match the cached information. You can do it via:
yum clean all --enablerepo=*
If that didn't help, comment out the following line in /etc/yum.conf:
distroverpkg=cloudlinux-release
You can run this command to comment out that line automatically:
sed -r -i 's/^\s*(distroverpkg\s*=\s*cloudlinux-release)/#\1/g' /etc/yum.conf
Comments