使用centos时,使用yum安装软件,老是会遇到这种提示:
Existing lock /var/run/yum.pid: another copy is running as pid 3053.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 37 M RSS ( 82 MB VSZ)
Started: Sun Jan 24 16:11:53 2010 - 14:44 ago
State : Sleeping, pid: 3053
后来才发现只要把/etc/yum/pluginconf.d/refresh-packagekit.conf改为如下:
enabled=0
就OK了。
源博客地址:http://blog.youkuaiyun.com/xuzhina/article/details/44037585
本文介绍了在CentOS系统中使用yum安装软件时遇到锁冲突问题的解决方案。当提示Another app is currently holding the yum lock时,可以通过禁用PackageKit插件来解决此问题。
5万+

被折叠的 条评论
为什么被折叠?



