Linux - Yum hangs at running transaction test, Error - Running Transaction Test

Yum hangs at running transaction test

When I was running trying to install or update a new package through yum, YUM was getting hang or the yum enters into sleep state with out installing the package. The yum program hungs when it was executing Transaction Test. How to resolve this running transaction test error.

yum command works normally until Running Transaction Test and hangs until the yum process is killed manually using the kill command. To fix this problem either reboot the server or type the following commands:
 # /bin/rm /var/lib/rpm/__db.*
 # cd /var/cache/yum
 # /bin/rm -rf *
 # yum clean all
 # yum update
Warning before executing rm command

To find where the problem exactely lies execute yum along with strace
 # strace yum -y update package

The topic on Linux - Yum hangs at running transaction test is posted by - Math

Hope you have enjoyed, Linux - Yum hangs at running transaction testThanks for your time

Tech Bluff