Another app is currently holding the yum lock解决方法
用yum安装包有时候会提示Another app is currently holding the yum lock; waiting for it to exit..
用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即可
版权声明
本站部分原创文章,部分文章整理自网络。如有转载的文章侵犯了您的版权,请联系站长删除处理。如果您有优质文章,欢迎发稿给我们!联系站长:
愿本站的内容能为您的学习、工作带来绵薄之力。
评论