Linux工作笔记026---Centos7.3 yum提示Another app is currently holding the yum lock; waiting for it to exit.
JAVA技术交流QQ群:170933152
这个问题是由于,上午通过堡垒机,装着,然后到饭点了,去吃饭,
吃饭回来,链接超时,然后装着的东西就卡在那了...
出现了这个问题
使用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
Linux工作笔记026---Centos7.3 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提示Another app is currently holding the yum lock; waiting for it to exit- 使用yum安装计划任务功能,结果提示: yum ...
- yum提示Another app is currently holding the yum lock; waiting for it to exit...
使用yum安装计划任务功能,结果提示: # yum update Loaded plugins: fastestmirror, refresh-packagekit, security Existin ...
- yum提示Another app is currently holding the yum lock
使用yum安装计划任务功能,结果提示: # yum -y install vixie-cron Loaded plugins: fastestmirror, refresh-packagekit, s ...
- 解决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 ...
- Linux工作笔记033---Linux(CentOS7)安装zip、unzip命令
JAVA技术交流QQ群:170933152 yum install -y unzip zip
- yum安装软件提示Another app is currently holding the yum lock
关闭yum进程 ps -ef|grep yum
- linux提示Another app is currently holding the xtables lock. Perhaps you want to use the -w option?
多年来,我一直在使用bash shell脚本来设置复杂的iptables规则.但是,Debian Stretch当我尝试使用脚本时,它变得缓慢并且使iptables处于不良状态. 当我尝试执行操作时, ...
- Another app is currently holding the yum lock解决方法
用yum安装包有时候会提示 ``` Another app is currently holding the yum lock; waiting for it to exit... The oth ...
- 【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... 通过强制关 ...
最新文章
- 赠书 | 读懂生成对抗神经网络 GAN,看这文就够了
- hibernate搭建
- [xmlpull]XmlPull常见错误
- [UOJ #167]【UR #11】元旦老人与汉诺塔
- 用了四年的联想Thinkpad P50,今天还给公司了,拍个照留念
- Excel抽奖小程序
- vs用c语言写贪吃蛇,熬书几个月,终于编出简易的贪吃蛇了,VS2013
- UI完美素材|(Watch展示篇)Mockups动态图提案模板
- java中rhino什么用_使用require.js和Java / Rhino解析模块
- 201621123083 《Java程序设计》第9周学习总结
- jquery和prototype冲突解决
- 光环PMP:超凡IT经理人的“六重修炼”专题讲座
- Python学习笔记之循环的实战练习
- excel换行快捷键_13个excel快捷键,学会他们,让你的1秒钟,抵得上同事的5分钟...
- iphone与计算机连接,苹果usb怎么与电脑连接_苹果怎么设置与电脑连接的图文步骤...
- 获取Map的key值的几种方式
- 利用Autolisp提取天正墙体位置坐标
- 《JavaScript DOM编程艺术》笔记1
- 【Oracle之AWR报告解析】
- unreal 渲染讲的比较好的材料