/var/run/yum.pid 已被锁定,PID 为 XXXX 的另一个程序正在运行。
安装st-load时, 终端提示 “/var/run/yum.pid 已被锁定,PID 为 13908 的另一个程序正在运行。”
解决方法:直接在终端运行 rm -f /var/run/yum.pid 将该文件删除,然后再次运行yum。

即出现如下提示:

[root@localhost ~]# yum install git unzip patch gcc gcc-c++ make
已加载插件:fastestmirror, langpacks
/var/run/yum.pid 已被锁定,PID 为 13908 的另一个程序正在运行。
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 14:57之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 14:59之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:01之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:03之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:05之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:07之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:09之前
状态 :运行中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:11之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:13之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:15之前
状态 :运行中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:17之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:19之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:21之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:23之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:25之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:27之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:29之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:31之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:33之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:35之前
状态 :睡眠中,进程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另一个应用程序是:PackageKit
内存:184 M RSS (1.5 GB VSZ)
已启动: Wed Sep 7 09:21:27 2016 - 15:37之前
状态 :睡眠中,进程ID:13908
/var/run/yum.pid 已被锁定,PID 为 XXXX 的另一个程序正在运行。的更多相关文章
- 运行yum时出现/var/run/yum.pid已被锁定,PID为xxxx的另一个程序正在运行的问题解决
出现问题 [root@localhost ~]#yum update 已加载插件: fastestmirror,security /var/run/yum.pid已被锁定,PID为1610的另一个程序 ...
- Centos7 下 yum -y install ntp 出现/var/run/yum.pid 已被锁定
[root@localhost ~ ]# yum -y install ntp已加载插件:fastestmirror, langpacksRepodata is over 2 weeks old. I ...
- /var/run/yum.pid 已被锁定,PID 为 2925 的另一个程序正在运行
解决办法:直接在终端运行 rm -f /var/run/yum.pid 将该文件删除,然后再次运行yum.
- /var/run/yum.pid被锁定
当执行yum update时出现: /var/run/yum.pid已被锁定,PID为1610的另一个程序正在运行. 另外一个程序锁定了yum:等待它退出...... 解决办法 rm -f /var/ ...
- yum.pid 已被锁定
刚刚打开虚拟机,然后打算安装sharutils 工具在安装sharutils 工具的时候 终端提示 “/var/run/yum.pid 已被锁定,PID 为 1610 的另一个程序正在运行.” r ...
- yum命令被锁 Existing lock /var/run/yum.pid
有时使用yum命令,不知怎会回事就提示: Existing lock /var/run/yum.pid: another copy is running as... 感觉也没操作什么错误的事情. 此时 ...
- Existing lock /var/run/yum.pid: another copy is running as pid 解决办法
yum只能支持一个例程运行,所以如果有一个例程已经在运行,其他的必须等待该进程退出释放lock.出现这种情况时,可以用以下命令来恢复: rm -f /var/run/yum.pid
- yum安装软件时报错:Loaded plugins:fastestnirror,security Existing lock /var/run/yum.pid
在linux中使用yum时出现如下错误: Loaded plugins: fastestmirror, security Existing lock /var/run/yum.pid: another ...
- yum 安装时报错 Existing lock /var/run/yum.pid: another copy is running as pid 3192.
yum 安装时报错 由于yum的时候意外退出造成的,虽然也给出提示当前占用进行的id,但是执行kill -9 强制杀死进程后,情况没能改变. 解决方法:rm -f /var/run/yum.pid然 ...
随机推荐
- jQuery下拉菜单插件Tendina.
插件效果: 下载地址和文档: https://github.com/iprignano/tendina
- infragistics-webdatagrid
infragistics-webdatagrid DataRow DataTable DataSet DataColumn stringBuilder append appendFormat 存储过程 ...
- Path Sum
需如下树节点求和 5 / \ 4 8 / / \ 11 13 4 / \ / \ 7 2 5 1 JavaScript实现 window ...
- 如何删除xcode项目中不再使用的图片资源
1. 利用工具 下载地址 http://jeffhodnett.github.io/Unused/ 运行效果如下 2. 通过终端 执行 shell 命令 a. 第一步建立.sh 文件 如 ...
- 适配iOS10以及Xcode8
现在在苹果的官网上,我们已经可以下载到Xcode8的GM版本了,加上9.14日凌晨,苹果就要正式推出iOS10系统的推送了,在此之际,iOS10的适配已经迫在眉睫啦,不知道Xcode8 beat版本, ...
- [NHibernate]一对多关系(关联查询)
目录 写在前面 文档与系列文章 一对多查询 总结 写在前面 上篇文章介绍了nhibernate的一对多关系如何配置,以及级联删除,级联添加数据的内容.这篇文章我们将学习nhibernate中的一对多关 ...
- 大熊君{{bb}}移动开发之旅(第一季)
一,开篇概述 Hi,大家好!大熊君又和大家见面了,从这篇文章开始我要和大家聊聊移动开发的话题,这部分文章共8季,分别从不同角度来讲解什么是移动开发?移动开发涉及到什么方面的技术点以及移动开发中的常见问 ...
- 什么时候用@Resource,什么时候用@service
Spring中什么时候用@Resource,什么时候用@service当你需要定义某个类为一个bean,则在这个类的类名前一行使用@Service("XXX"),就相当于讲这个类定 ...
- 原生JavaScript技巧
时常在技术论坛有看见一些比较好的示例,于是就出于一种收集并学习的态度,于是就保留下来啦~ 当然现在展示的也只是一部分,先放一部分出来尝尝鲜~~~
- iframe的自适应高度
<iframe src="index.html" id="iframepage" name="iframepage" frameBor ...