Reply to comment

CentOS at Pacificrack.com: Fix Yum Hang with rpm and db files

Wed, 06/03/2009 - 23:55 - peter | |

I killed one yum process as it was doing an install, and my punishment was quick and severe: yum from that point forward just hang on most commands, doing nothing.  After consulting a variety of internet sites and forums, etc, trying out their solutions, here's what I did that worked (thanks http://www.linux-archive.org/centos/33529-yum-hangs-when-reading-local-rpmdb.html):

cd /var/lib/rpm

rm *__*   [3 db files]

rpm --rebuilddb

 

Testing:

yum list available

 

 

Reply

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for clevery testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.