首页 > 移动平台 > 详细

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

时间:2016-07-20 22:39:56      阅读:305      评论:0      收藏:0      [点我收藏+]
[root@localhost ~]# yum -y install mariadb-server mariadb mariadb-devel
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 4142.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 129 M RSS (541 MB VSZ)
    Started: Wed Jul 20 21:34:31 2016 - 13:59 ago
    State  : Sleeping, pid: 4142
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 129 M RSS (541 MB VSZ)
    Started: Wed Jul 20 21:34:31 2016 - 14:01 ago
    State  : Sleeping, pid: 4142
^C

Exiting on user cancel.
[root@localhost ~]# rm -rf /run/yum.pid

 

小技巧:

  通过以下命令找到yum.pid的具体路径,然后rm -rf掉。

find / -name yum.pid

 

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

原文:http://www.cnblogs.com/tdcqma/p/5689848.html

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