使用yum安装计划任务功能,结果提示:

# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 25960.
Another app is currently holding the yum lock; waiting for it to exit...

可能是系统自动升级正在运行,yum在锁定状态中。

已经有一个yum进程在运行了,使用kill干掉它:

# kill -s 9 25960
# ps aux|grep yum
root      6744  0.0  0.0 103260   900 pts/1    S+   14:59   0:00 grep yum
root     25960  0.0  0.0      0     0 ?        Z    Sep19   0:01 [yumBackend.py] <defunct>

很遗憾,kill对付不了它,那怎么办呢?

解决方法,可以通过强制关掉yum进程

  • rm -f /var/run/yum.pid

yum提示Another app is currently holding the yum lock; waiting for it to exit...相关推荐

  1. yum提示Another app is currently holding the yum lock; waiting for it to exit...处理办法

    yum提示Another app is currently holding the yum lock; waiting for it to exit- 使用yum安装计划任务功能,结果提示: yum ...

  2. Linux工作笔记026---Centos7.3 yum提示Another app is currently holding the yum lock; waiting for it to exit.

    JAVA技术交流QQ群:170933152 这个问题是由于,上午通过堡垒机,装着,然后到饭点了,去吃饭, 吃饭回来,链接超时,然后装着的东西就卡在那了... 出现了这个问题 使用yum安装计划任务功能 ...

  3. yum提示Another app is currently holding the yum lock

    使用yum安装计划任务功能,结果提示: # yum -y install vixie-cron Loaded plugins: fastestmirror, refresh-packagekit, s ...

  4. 解决yum锁定Another app is currently holding the yum lock; waiting for it to exit...

    完整的报警如下: Another app is currently holding the yum lock; waiting for it to exit...The other applicati ...

  5. linux提示Another app is currently holding the xtables lock. Perhaps you want to use the -w option?

    多年来,我一直在使用bash shell脚本来设置复杂的iptables规则.但是,Debian Stretch当我尝试使用脚本时,它变得缓慢并且使iptables处于不良状态. 当我尝试执行操作时, ...

  6. yum安装软件提示Another app is currently holding the yum lock

    关闭yum进程 ps -ef|grep yum

  7. Another app is currently holding the yum lock解决方法

    用yum安装包有时候会提示 ``` Another app is currently holding the yum lock; waiting for it to exit...   The oth ...

  8. Another app is currently holding the yum lock; waitingn

    yum配置提示错误: [root@localhost yum.repos.d]# yum clean all Another app is currently holding the yum lock ...

  9. Another app is currently holding the yum lock; waiting for it to exit...

    使用yum安装计划任务功能,结果提示: # yum -y install vixie-cron Loaded plugins: fastestmirror, refresh-packagekit, s ...

最新文章

  1. 手把手Tinyxml入门,C++ VS2010
  2. sql server转oracle需要注意的几点
  3. oracle11g ora 29927,Oracle11gR2使用RMANDuplicate复制数据库
  4. 家用电器如何计算功率和消耗的度数
  5. SELECT的学习以及在socket中的应用
  6. PHPCMS资源网站源码软件源码下载站网站源码
  7. 图片相似度识别在线_图片相似度计算的几种方法
  8. Pycharm中更改镜像源
  9. java多线程小游戏_java控制台贪吃蛇小游戏(多线程版)
  10. 色彩原理-色相、明度、纯度
  11. 怎样为受惊吓的孩子叫魂
  12. 走进 Redis 的世界
  13. k8s健康检查(七)
  14. 优秀IT项目经理的基本要求
  15. 类似QQ的聊天气泡效果
  16. 网页开发中用到的插件
  17. s32k144 芯片中关于软件看门狗(wdog)模块的使用
  18. 秋招信息入口分类汇总(持续更新)
  19. 强大asp.net智能开发工具,力软快速开发平台
  20. 简约精致的目录浏览程序:Files Photo Gallery

热门文章

  1. 这个工具可以组合参数画出2种单细胞Marker显示图
  2. Mac截图高端操作,这些技巧你绝对不知道!
  3. 1.7 编程基础之字符串 32 行程长度编码 python
  4. 34营销的三要素:真实诚信、诱饵引入、合理宣传
  5. 【chorme插件开发】第一节:chrome内核浏览器插件开发的说明
  6. QT Core | 信号槽02 - GUI上按钮触发应用程序的函数(lambda表达式)
  7. Android学习之网上商城(下)
  8. linux 服务器(CentOS7)搭建PHP环境+SSH配置+服务器文件上传配置
  9. Java笔记-异常机制中try(...)中括号的用法
  10. Java笔记-Servlet相关记录