Panel/WHM EasyApache failed YUM error:
While running easy apache Yum is giving error
!! The server’s system package manager, ‘YUM’, failed. !!
Solution :
# yum clean headers
# yum clean packages
# yum clean metadata
# yum clean dbcache
# yum clean all
Run yum update command, if all above cmds did not resolve the error:
# yum update
If yum update failed it may possible that the RPM database is corruption it can be resolved by running below commands
# rm -f /var/lib/rpm/__db.*
# rpm -vv –rebuilddb
# yum update
While running easy apache Yum is giving error
!! The server’s system package manager, ‘YUM’, failed. !!
Solution :
# yum clean headers
# yum clean packages
# yum clean metadata
# yum clean dbcache
# yum clean all
Run yum update command, if all above cmds did not resolve the error:
# yum update
If yum update failed it may possible that the RPM database is corruption it can be resolved by running below commands
# rm -f /var/lib/rpm/__db.*
# rpm -vv –rebuilddb
# yum update