yum update时候出现Another app is currently holding the yum lock解决方法 2019-10-25 linux 暂无评论 2485 次阅读 ``` [root@localhost wangcheng]# yum install yumex Existing lock /var/run/yum.pid: another copy is running as pid 3807. Anotherapp is currently holding the yum lock; waiting for it to exit... 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... 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... 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... 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... Another app is currently holding the yum lock; waiting for it to exit... ``` 这是什么原因? /var/run/yum.pid我打开看了,只是一个数,其他的 可能是系统自动升级正在运行,所以yum被锁定了。 可以通过执行`rm -rf /var/run/yum.pid` 来强行解除锁定,然后你的yum就可以运行了。 转自http://blog.sina.com.cn/s/blog_65f64cc70100qrgk.html 标签: update, yum, lock 本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。