Existing lock /var/run/yum.pid: another copy is running as pid 解决办法

简介:

今天用yum安装软件时报错:

[root@lvs2 yum.repos.d]# yum -y install ipvsadm
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Existing lock /var/run/yum.pid: another copy is running as pid 11986.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: pirut
    Memory :  54 M RSS (103 MB VSZ)
    Started: Fri Jul  2 01:09:33 2010 - 18:52:40 ago
    State  : Sleeping, pid: 11986
 

解决办法如下:

1。rm -rf /var/run/yum.pid

2./etc/init.d/yum-updatesd stop

问题得到解决!




本文转自 shine_forever 51CTO博客,原文链接:http://blog.51cto.com/shineforever/342721

相关文章
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
155 0
|
3月前
yum 报错:Another app is currently holding the yum lock; waiting for it to exit
开发过程中需要用到 yum 命令 有时候执行 yum 会报错如下
18 0
|
11月前
|
关系型数据库 MySQL 数据库
ERROR! MariaDB is running but PID file could not be found
在CentOS7.6上安装了MariaDB10.3,采用的yum方式安装的,用命令查看数据库的状态会报错误
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竟然这样解决最快
91 0

热门文章

最新文章