首页 > 移动平台 > 详细

yum update时候出现Another app is currently holding the yum lock解决方法

时间:2015-08-16 00:45:08      阅读:274      评论:0      收藏:0      [点我收藏+]

[root@localhost ]# yum install app*

Existing lock /var/run/yum.pid: another copy is running as pid 3807. 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... 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就可以运行了。

yum update时候出现Another app is currently holding the yum lock解决方法

原文:http://cmmwyy.blog.51cto.com/5251443/1684934

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!