[Solved] The server’s system package manager, ‘YUM’, failed : Error with easyapache
EasyApache failed for YUM error?
EasyApache is software that installs, modifies, and validates your Apache web server, PHP, Tomcat, and other components of your web server. For more details refer cPanel doc here [cPanel :: Introduction to EasyApache]
Here I got a error with YUM while executing EasyApache. See the snippet below:
!! The server’s system package manager, ‘YUM’, failed. !
Here I’m listing the steps to resolve this problem. Execute the following YUM command for that.
1, Eliminate all of the header files which yum uses for dependency resolution.
# yum clean headers
2, Remove all of the packages held in the caches
# yum clean packages
3, Remove all metadata
# yum clean metadata
4, Clean dbcache
# yum clean dbcache
5, Clean all
# yum clean all
Run the update command, if all of the above mentioned commands didn’t solve the issue.
# yum -y update
If yum update failed it may be due to the corruption in RPM database under /var/lib/rpm/ location. Please do follow the below pasted steps to resolve the issue.
# rm -f /var/lib/rpm/__db.* # rpm -vv –rebuilddb # yum update