How to fix yum errors on CentOS, RHEL or Fedora
The page lists common yum failures on Red Hat-based systems and pairs each one with a direct fix, usually by cleaning metadata or cache, setting a proxy, or stopping PackageKit from holding the yum lock.