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

Senior System Developer at Zeta. Linux lover. Traveller. Let's connect! Whether you're a seasoned DevOps pro or just starting your journey, I'm always eager to engage with like-minded individuals. Follow my blog for regular updates, connect on social media, and let's embark on this DevOps adventure together! Happy coding and deploying!

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 *