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

解决linux 出现如下报错:Another app is currently holding the yum lock;

时间:2015-10-29 16:28:23      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:another app is currently holding the yum lock; waiting for it to exit...   the other application is: yum

[root@localhost network-scripts]# yum install vim

Loaded plugins: fastestmirror

Existing lock /var/run/yum.pid: another copy is running as pid 2503.

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

  The other application is: yum

    Memory :  19 M RSS (306 MB VSZ)

    Started: Thu Oct 29 23:03:02 2015 - 04:00 ago

    State  : Traced/Stopped, pid: 2503

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

  The other application is: yum

    Memory :  19 M RSS (306 MB VSZ)

    Started: Thu Oct 29 23:03:02 2015 - 04:02 ago

    State  : Traced/Stopped, pid: 2503

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

  The other application is: yum

    Memory :  19 M RSS (306 MB VSZ)

    Started: Thu Oct 29 23:03:02 2015 - 04:04 ago

    State  : Traced/Stopped, pid: 2503

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

  The other application is: yum

    Memory :  19 M RSS (306 MB VSZ)

    Started: Thu Oct 29 23:03:02 2015 - 04:06 ago

    State  : Traced/Stopped, pid: 2503

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

  The other application is: yum

    Memory :  19 M RSS (306 MB VSZ)

    Started: Thu Oct 29 23:03:02 2015 - 04:08 ago

    State  : Traced/Stopped, pid: 2503

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

  The other application is: yum

    Memory :  19 M RSS (306 MB VSZ)

    Started: Thu Oct 29 23:03:02 2015 - 04:10 ago

    State  : Traced/Stopped, pid: 2503

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

  The other application is: yum

    Memory :  19 M RSS (306 MB VSZ)

    Started: Thu Oct 29 23:03:02 2015 - 04:12 ago

    State  : Traced/Stopped, pid: 2503






解决办法:

rm -rf /var/run/yum.pid 来强行解除锁定,然后就可以正常使用你的yum了











本文出自 “清风明月” 博客,请务必保留此出处http://liqingbiao.blog.51cto.com/3044896/1707723

解决linux 出现如下报错:Another app is currently holding the yum lock;

标签:another app is currently holding the yum lock; waiting for it to exit...   the other application is: yum

原文地址:http://liqingbiao.blog.51cto.com/3044896/1707723

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