Monday 17 February 2014

Yum error while running easyapache

While running easy apache if Yum is giving error as:
!! The server’s system package manager, ‘YUM’, failed. !!

Solution : 

# yum clean headers
# yum clean packages
# yum clean metadata
# yum clean dbcache
# yum clean all

# 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

Once yum update is successful try running easyapache which should work without any error now.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.