How can I fix cPanel/WHM EasyApache failed YUM errors? Print

  • easyapache, yum, cpanel, whm
  • 343

CPanel/WHM EasyApache failed YUM error:

While running EasyApache Yum is giving an error

!! The server’s system package manager, ‘YUM’, failed. !!

Cleaning out and rebuilding YUM should fix this. Here is the solution for this:

# yum clean headers

# yum clean packages

# yum clean metadata
# yum clean dbcache
# yum clean all

Run the yum update command, if all the above commands did not resolve the error:

# yum update

If the yum update failed it may be possible that the RPM database is corrupt it can be resolved by running the below commands

# rm -f /var/lib/rpm/__db.*
# rpm -vv –rebuilddb
# yum update


Was this answer helpful?

« Back