[Solved] Another app is currently holding the yum lock; waiting for it to exit…

When downloading in CentOS, you use Yum most of the time, but sometimes you will report the following error when using Yum:

Another app is currently holding the yum lock; waiting for it to exit...

You can literally understand that there are other apps holding the lock of Yum and waiting for it to exit… You can choose to wait for it to exit slowly, but most people want to get the right to use Yum immediately. Then you can execute the following command to forcibly close the yum process:

rm -f /var/run/yum.pid

Then use Yum happily

Similar Posts: