[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

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

12 Responses

  1. Keep up the good work !!

    Its really helpful 🙂

  2. Tim says:

    Thanks! saved me a ton of time troubleshooting / researching the fix for this.

  3. RM says:

    Thanks a million for this guide man. Worked perfectly.

  4. Senthilgurue says:

    Thanks a lot arun , its worked perfectly and saved a ton of time.

  5. Just what i needed, solved my problem doing the yum update! Thanks!

  1. January 23, 2014

    […] [Solved] The server’s system package manager, ‘YUM’, failed : Error with easyapache ERROR: Malformed database for clamd […]

  2. January 27, 2014

    […] Related links: cPanel/WHM EasyApache failed YUM error […]

Leave a Reply

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