If you force quit yum update, the message “Another app is currently holding the yum lock; waiting for it to exit…” may appear and you may not be able to update. message will appear and you may not be able to update. This occurs because yum is locked.
In such a situation, the following steps can solve the problem
- Kill the process in question. The command is “kill [process ID]”. The process ID can be confirmed with the top command, for example.
- Delete the yum pid file. The command is “rm -f /var/run/yum.pid”. This will unlock yum.
- Execute “yum update” again. At this time, the update should start successfully.