码迷,mamicode.com
首页 > 移动开发 > 详细

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

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

标签:currently   running   holding   waiting   another   

[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解决方法

标签:currently   running   holding   waiting   another   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!