Press "Enter" to skip to content

CentOS系统遇到Another app is currently holding the yum lock问题的解决方法

问题描述:CentOs系统中使用yum安装软件,出现如下错误:

[root@localhost ~]# yum install gnuradio usrp
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 15069.
Another app is currently holding the yum lock; waiting for it to exit... 
The other application is: yum-updatesd-he   
Memory :  17 M RSS ( 29 MB VSZ)   
Started: Wed May 25 20:58:54 2011 - 2:10:35 ago   
State  : Sleeping, pid: 15069

发现问题后,终止安装,当再次执行安装命令后,问题依然。


解决方案:

在命令行输入:
# rm -f /var/run/yum.pid /sbin/service 
# yum-updatesd restart

然后重新执行安装命令,问题解决。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注