[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:

Error details:

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

Solution

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

That’s it.

Also see:
[Solved]1045 Cannot log in to the MySQL server : PhpMyAdmin error
Mongodb wont start ERROR: child process failed, exited with error number 100

Post navigation

Arunlal Ashok

Cloud Infrastructure / DevOps Engineer. I know her (Linux) since many years. Linux lover. Like to play on Linux console. I started this blog to share and discuss Linux thoughts.

Always happy for an open discussion! Write to arun (@) crybit (dot) com. Check about me for more details. About this blog and our strong members, check The team CryBit.com

14 thoughts on “[Solved] The server’s system package manager, ‘YUM’, failed : Error with easyapache

Leave a Reply

Your email address will not be published. Required fields are marked *