zoukankan      html  css  js  c++  java
  • yum进程被占用

    使用yum安装软件的时候出现,/var/run/yum.pid 已被锁定,PID 为 6503 的另一个程序正在运行的问题

    [root@localhost mysql]# yum install gcc gcc-c++ cmake ncurses-devel bison
    已加载插件:fastestmirror, langpacks
    /var/run/yum.pid 已被锁定,PID 为 6503 的另一个程序正在运行。
    Another app is currently holding the yum lock; waiting for itto exit...
    另一个应用程序是:PackageKit
    内存: 31 M RSS (361 MB VSZ)
    已启动: Sat Jun 22 14:39:13 2019 - 00:04之前
    状态 :运行中,进程ID:6503
    Another app is currently holding the yum lock; waiting for itto exit...
    另一个应用程序是:PackageKit
    内存: 46 M RSS (375 MB VSZ)
    已启动: Sat Jun 22 14:39:13 2019 - 00:06之前
    状态 :运行中,进程ID:6503

    解决办法:

    vim   /etc/yum/pluginconf.d/fastestmirror.conf

    enabled=1 改为enabled=0

    重启服务器

  • 相关阅读:
    jenkins for xcode
    时间你懂的,
    插件,
    basic ,token添加
    上火啊,替换字符串,HTML,
    shell
    不可深究啊,
    看着 自己都感觉 恶心的代码,
    Tab切换效果
    jar -- java文档归档工具
  • 原文地址:https://www.cnblogs.com/lulin9501/p/11068814.html
Copyright © 2011-2022 走看看