How to resolve the issue of Anotherapp holding the yum lock currently?

2026-04-01 03:561阅读0评论SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计160个文字,预计阅读时间需要1分钟。

How to resolve the issue of Anotherapp holding the yum lock currently?

使用yum安装包时,有时会提示:Another app is currently holding the yum lock; waiting for it to exit...。这是因为另一个应用程序正在占用yum锁,需要等待它退出。

How to resolve the issue of Anotherapp holding the yum lock currently?

用yum安装包有时候会提示```Anotherappiscurrentlyholdingtheyumlock;waitingforittoexit Theotherappli

用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]# lsproduct-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即可

本文共计160个文字,预计阅读时间需要1分钟。

How to resolve the issue of Anotherapp holding the yum lock currently?

使用yum安装包时,有时会提示:Another app is currently holding the yum lock; waiting for it to exit...。这是因为另一个应用程序正在占用yum锁,需要等待它退出。

How to resolve the issue of Anotherapp holding the yum lock currently?

用yum安装包有时候会提示```Anotherappiscurrentlyholdingtheyumlock;waitingforittoexit Theotherappli

用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]# lsproduct-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即可