安装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

转载于:https://www.cnblogs.com/Lam7/p/5848267.html

/var/run/yum.pid 已被锁定,PID 为 XXXX 的另一个程序正在运行。相关推荐

  1. /var/run/yum.pid 已被锁定 解决办法

    [root@localhost 桌面]# yum install glibc.i686 已加载插件:fastestmirror, langpacks /var/run/yum.pid 已被锁定,PID ...

  2. Linux进程被锁定,解决yum时出现 /var/run/yum.pid 已被锁定,PID 为 3548 的另一个程序正在运行。...

    在CentOS 7.5下使用yum时出现系统处于锁定状态的解决方法. 问题如下: [linuxidc@localhost Linux公社 www.linuxidc.com]$ sudo yum ins ...

  3. yum 安装出现 /var/run/yum.pid 已被锁定

    问题描述 使用 bzip2 命令的时候提示「未找到命令」 [root@localhost ~]# bzip2 -c test.txt -bash: bzip2: 未找到命令 那就安装个 bzip2 吧 ...

  4. 解决 CentOS 7 报错: /var/run/yum.pid 已被锁定

    报错描述 今天在使 yum 命令安装软件的时候遇到了如下报错: /var/run/yum.pid 已被锁定,PID 为 3355 的另一个程序正在运行. Another app is currentl ...

  5. yum安装时报错,提示/var/run/yum.pid 已被锁定,解决办法

    报错现象 解决方法 方法①:直接在root下运行即可 rm -f /var/run/yum.pid '//删除进程pid,然后再次运行yum安装即可' 方法②:root下先杀死这个PID进程,再清空缓 ...

  6. 已加载插件:fastestmirror, langpacks /var/run/yum.pid 已被锁定,PID 为 2686 的另一个程序正在运行。

    遇到的问题: 解决办法: 输入命令 rm -f /var/run/yum.pid

  7. 成功解决使用yum安装软件的时候提示/var/run/yum.pid被锁定

    前言 yum安装软件的时候提示/var/run/yum.pid被锁定,这个问题遇到的频率比较高,相信你也曾经遇到过,网上的解决方案最常见的只有一种,而我们今天不但要解决这个问题,还要使用多种方案来解决 ...

  8. Existing lock /var/run/yum.pid: another copy is running as pid

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

  9. Existing lock /var/run/yum.pid: another copy is running as pid 22873. Another app is currently hold.

    Existing lock /var/run/yum.pid: another copy is running as pid 22873. Another app is currently holdi ...

  10. Linux使用yum install 安装程序时,提示“另外一个程序锁定了 yum;等待它退出……”

    Linux使用yum install 安装程序时,提示"另外一个程序锁定了 yum:等待它退出--" https://www.cnblogs.com/qf123/p/9909790 ...

最新文章

  1. php,http_build_query,乱码
  2. mysql 内存监控_mysql cpu和内存监控
  3. matlab二维特殊函数面积图area()函数
  4. [USACO 2.2.2]循环数 (循环链表 枚举)
  5. Activity 在横竖屏切换情况下的生命周期变化
  6. ASP.NET Core MVC Tag Helpers 介绍
  7. 单位矩阵的逆矩阵是它本身吗_矩阵运算、单位矩阵与逆矩阵(二)
  8. ios 高德获取定位_解决ios11不支持高德地图API定位功能的方法
  9. 学习python 基础密码验证
  10. php+mysql+json android 连接wamp
  11. [转载]Spring zuul日志配置
  12. 运维工作5年简历写成这样,谁敢要你
  13. html5播放器声音小,页面声音播放(HTML5 embed标签)
  14. 【DVB】【Cert】DVD相关认证简介
  15. mysql 1452 Cannot add or update a child row: a foreign key constraint fails
  16. MinGW+MSYS安装
  17. 细说;(function ($, undefined){ })(jQuery); 的使用
  18. 小周SEO:网站关键词【杭州SEO】排名到前3名SEO技巧
  19. matlab最基础教程(二):变量类型与赋值
  20. 操作系统期末习题考试习题解答题目二

热门文章

  1. [剑指offer] 7. 斐波那契数列 (递归 时间复杂度)
  2. [记录]Python的master-worker和epoll模式
  3. Linux命令----系统目录结构
  4. 【HTTP】 Fiddler简介
  5. 【贪心】【codevs】1098 均分纸牌
  6. 大道至简——书摘与思考
  7. 编程语言EF速度测试(4):nsieve-bits
  8. 《Spring Cloud》学习(一) 服务治理!
  9. kolla-ansible解析
  10. 上传伪技术~很多人都以为判断了后缀,判断了ContentType,判断了头文件就真的安全了。是吗?...