安装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 的另一个程序正在运行。的更多相关文章

  1. 运行yum时出现/var/run/yum.pid已被锁定,PID为xxxx的另一个程序正在运行的问题解决

    出现问题 [root@localhost ~]#yum update 已加载插件: fastestmirror,security /var/run/yum.pid已被锁定,PID为1610的另一个程序 ...

  2. Centos7 下 yum -y install ntp 出现/var/run/yum.pid 已被锁定

    [root@localhost ~ ]# yum -y install ntp已加载插件:fastestmirror, langpacksRepodata is over 2 weeks old. I ...

  3. /var/run/yum.pid 已被锁定,PID 为 2925 的另一个程序正在运行

    解决办法:直接在终端运行 rm -f /var/run/yum.pid 将该文件删除,然后再次运行yum.

  4. /var/run/yum.pid被锁定

    当执行yum update时出现: /var/run/yum.pid已被锁定,PID为1610的另一个程序正在运行. 另外一个程序锁定了yum:等待它退出...... 解决办法 rm -f /var/ ...

  5. yum.pid 已被锁定

      刚刚打开虚拟机,然后打算安装sharutils 工具在安装sharutils 工具的时候 终端提示 “/var/run/yum.pid 已被锁定,PID 为 1610 的另一个程序正在运行.” r ...

  6. yum命令被锁 Existing lock /var/run/yum.pid

    有时使用yum命令,不知怎会回事就提示: Existing lock /var/run/yum.pid: another copy is running as... 感觉也没操作什么错误的事情. 此时 ...

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

    yum只能支持一个例程运行,所以如果有一个例程已经在运行,其他的必须等待该进程退出释放lock.出现这种情况时,可以用以下命令来恢复: rm -f /var/run/yum.pid

  8. yum安装软件时报错:Loaded plugins:fastestnirror,security Existing lock /var/run/yum.pid

    在linux中使用yum时出现如下错误: Loaded plugins: fastestmirror, security Existing lock /var/run/yum.pid: another ...

  9. 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然 ...

随机推荐

  1. 用TTS实现文本转语音

    最近被toefl单词虐成狗::>_<:: 想做一个可以自动把单词转成语音的软件,这样就可以在路上戴耳机边走边听啦~ 用微软的TTS语音库可以很容易地实现.早期的TTS要想实现中英文混合朗读 ...

  2. PMD宣传文案

    队名:Clover 李烈争 031402614 林昊斌 031402615 李坤隆 031402612 林瑞斌 031402617 解宇虹 031402338 林 锦 031402339 目录 一. ...

  3. Beta版本——用户试用与调研报告

    1 引言 1.1 系统概述 ​ 毕设导师智能分配系统是一个用来简化传统手工匹配繁琐操作的系统.本系统将学生报志愿.系负责人收集整理数据.相关人员进行手工分配.反馈选择结果等繁琐的操作转移到线上.把毕设 ...

  4. cxf 调用 webservice服务时传递 服务器验证需要的用户名密码

    cxf通过wsdl2java生成客户端调用webservice时,如果服务器端需要通过用户名和密码验证,则客户端必须传递验证所必须的用户名和密码,刚开始想通过url传递用户名和密码,于是在wsdl文件 ...

  5. Tools

    Database: Online Schema Tool: http://dbdsgnr.appspot.com/ Orcale --> SQL developer MySQL--> To ...

  6. 删除Tomcat服务及其它注意

    使用sc delete Tomcat7(注意服务名是Tomcat7 不是Apache......Tomcat7.0). 绿色版无法启动的话,需要先ervice.bat install注册一下服务. 如 ...

  7. jquery 扩展插件方法

    分析插件jquery.countdown.js (function($) { $.fn.countdown = function(options) { // default options var d ...

  8. BZOJ1264——[AHOI2006]基因匹配Match

    1.题意,求最长公共子序列,每个数字在序列中都出现5次 2.分析:最长公共子序列的标准解法是dp,$O(n^2)$过不了的,然后我们发现判断哪两个位置优化的地方用$5n$就可以搞定了,那么我们用BIT ...

  9. PYTHON 全局变量和局部变量

    #局部变量,只能调用函数体内的变量 def fun(): a = 234 print(a) #全局变量,在函数体外声明,在函数体内都可调用 b = 'gyc' def fun(): a = 234 p ...

  10. EF框架的三种工作方式

    EF框架step by step(1)—Database-First EF框架step by step(2)—Model-First EF框架step by step(3)—Code-First 通过 ...