yum Command Hangs on Running Transaction Test Message Error and Solution

by on July 1, 2011 · 3 comments· last updated at July 1, 2011

When I run 'yum install package' or 'yum update' commands the yum command works normally until Running Transaction Test and hangs until the yum process is killed manually using the kill command. How do I fix this problem under CentOS Linux 5.x AMD64 running on HP server?

This error indicates that other duplicate yum processes running on the system or older yum process causing problem. 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

If you still get the same problem just reboot the server.



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 3 comments… read them below or add one }

1 zazlox July 17, 2011 at 11:14 pm

interesting tip . keep it up :)

Reply

2 Saravanan Arumugam November 24, 2011 at 11:15 am

We can use “yum clean dbcache” if DB error throws :)

Reply

3 kaisersouse April 6, 2012 at 10:12 pm

THANK YOU! YUM was giving me fits. This was the only “delete/clean/update” tip that actually worked.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: