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
NOW YOU CAN RUN
yum update -y