yum processes hangs

1. Kill all RPM and yum processes

ps aux | grep rpm


2. Kill command

kill -9 pid-id


3. Kill all up2date

ps aux | grep up2date


4. Kill command up2date

kill -9 pid-id


5. Remove any RPM lock files

rm -rf /var/lib/rpm/__db*


6. Rebuild the rpm database

rpm --rebuilddb


7. Cleaning the yum

yum clean all



yum update -y


Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.