zoukankan      html  css  js  c++  java
  • /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

  • 相关阅读:
    解析“0”的读法
    CM3 支持 64 位整数, LDRD STRD
    segger usbh struct
    BCM2046 Bluetooth on new 8,3 MacBook Pro USB Interface Descriptor bAlternateSetting
    STM32 USB Host Library 学习笔记 (2) USBH_InterruptSendData() USBH_ClrFeature()
    Double Link List
    汉语拼音方案里的O(哦)和 UO(窝)
    git commit 时,会打开默认的文本编辑器,要求你输入提交信息
    WIN7 常见问题及解决方法
    git 创建 .gitignore 文件 建立项目过滤规则
  • 原文地址:https://www.cnblogs.com/Lam7/p/5848267.html
Copyright © 2011-2022 走看看