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:
- yum :Another app is currently holding the yum lock; waiting for it to exit……
- Another app is currently holding the yum lock; waiting for it to exit…
- [Solved] Workflow Module jar package startup error: liquibase – waiting for changelog lock
- Project startup error: related to modules and node versions
- Git Error: Unable to create ‘D:/xxx/.git/index.lock’: File exists. Another git process seems to be running in this repository, e.g.an editor opened by ‘git commit’. Please make sure all p
- Install a docker container in centos7 that can log in SSH
- Lock wait timeout exceeded; try restarting transaction-Mysql [How to Solve]
- MySQL Error: Waiting for table metadata lock [How to Solve]
- [ERROR] InnoDB: Unable to lock ./ibdata1,error: 11
- E: Unable to get lock / var / lib / apt / lists / lock – Open (11 resources temporarily unavailable)