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

# yum -y install vixie-cron
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

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

  1. 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... 可以通过强 ...

  2. yum提示Another app is currently holding the yum lock; waiting for it to exit...

    使用yum安装计划任务功能,结果提示: # yum update Loaded plugins: fastestmirror, refresh-packagekit, security Existin ...

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

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

  4. 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... 可以通过强 ...

  5. 【Linux】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... 通过强制关 ...

  6. 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 ...

  7. yum被锁Another app is currently holding the yum lock; waiting for it to exit...

    可能是系统自动升级正在运行,yum在锁定状态中. 可以通过强制关掉yum进程: #rm -f /var/run/yum.pid 然后就可以使用yum了. 转载于:https://www.cnblogs ...

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

    昨天用Virtualbox虚拟了2台CentOS,发现默认没有安装vim,所以就准备安装vim,结果我输入如下命令时,出现了如题的异常: Shell代码   yum install vim-X11 v ...

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

最新文章

  1. 动态规划是真的难啊坚持
  2. cocos2d-x初探学习笔记(17)--瓦片地图集
  3. Visual Studio下Qt调用IDL
  4. linux学习第九天 (Linux就该这么学)
  5. Kerberos 下运行spark 报错 Requested user hdfs is not whitelisted and has id 995,which is below the minimu
  6. 国产品牌“爱国者”首次杀入数码相机十强
  7. Qt工作笔记-QTableWidget插入QcomboBOx后,如何获取数据
  8. JS 函数中的call,apply
  9. 算法每日学打卡:01-21打卡(解答后面整理)
  10. 【NOI2016】循环之美,mobius反演+杜教筛
  11. ajax写入txt,javascript结合ajax读取txt文件内容
  12. DropDownList如何绑定DataTable,如何绑定DataSet
  13. idea通过Ctrl+鼠标滚轮放大/缩小字体
  14. WebConfig节点详解
  15. php 伪静态 获取当前页面路径_php url伪静态过程详解
  16. 清空数据库里面所有表的数据的语句
  17. mysql lang_dlang操作mysql
  18. C#开发 虚拟翻书软件
  19. (附源码)spring boot网上购物系统 毕业设计 311236
  20. 2021-04-27 Android 理解frameworks services jni hardware kernel 整个控制过程实例包括回调

热门文章

  1. 微信 for Mac 3.1.0 测试版发布(附安装包),新增「发朋友圈」功能
  2. 多功能mac代码编辑神器coderunner 4 比Xcode都强大
  3. 1.5编程基础之循环控制 37 雇佣兵
  4. word如何设置长宽高_word怎样设置图片长宽
  5. svn异地同步 linux,svn库两地开发之代码数据的同步包括***连接的全套解决方案
  6. Android笔记-对称与非对称加密及DH密钥交换
  7. Java笔记-对SpringBoot中CommandLineRunner的使用笔记
  8. QML笔记-2种方式实现心脏跳动
  9. Spring Boot通过url设置国际化
  10. Java通过反射了解集合泛型的本质(Class反射都是在运行时执行的)