!
也想出现在这里? 联系我们
广告位
当前位置:首页>教程分享>服务器教程>Another app is currently holding the yum lock解决方法

Another app is currently holding the yum lock解决方法

用yum安装包有时候会提示如下错误:

```
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 128 M RSS (439 MB VSZ)
    Started: Fri Aug 28 08:08:31 2015 - 48:25 ago
    State  : Sleeping, pid: 3462

```
临时解决方法:

```
 执行 rm -f /var/run/yum.pid
```
然后重新执行yum就可以了

永久解决方法:永久禁止该错误

```
[root@oracle pluginconf.d]# cd /etc/yum/pluginconf.d/
[root@oracle pluginconf.d]# ls
product-id.conf  refresh-packagekit.conf  rhnplugin.conf  security.conf  subscription-manager.conf
[root@oracle pluginconf.d]# vim refresh-packagekit.conf
[main]
enabled=0  --将原来的1改成0即可

给TA打赏
共{{data.count}}人
人已打赏
服务器教程

Centos7配置网卡IP地址/修改IP地址

2021-4-17 19:03:58

服务器教程

网站域名是否需要备案?网站备案对SEO影响有多大?

2021-4-17 19:04:06

声明 本站上的部份代码及教程来源于互联网,仅供网友学习交流,若您喜欢本文可附上原文链接随意转载。无意侵害您的权益,请发送邮件至 [email protected] 或点击右侧 私信:吉吉国王 反馈,我们将尽快处理。
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
OneEase