When installing software with yum, you may encounter the message: another app is currently holding the yum lock;waiting for it to exit

Sometimes when upgrading certain files with yum, the following situation occurs:
another app is currently holding the yum lock;waiting for it to exit…
You can force kill the yum process:
#rm -f /var/run/yum.pid
After that, you can use yum again.