Fix HTTP Error 404 - Not Found errors in yum

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


Please 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


Was this answer helpful? 0 Users Found This Useful (0 Votes)