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...】
转自:http://blog.csdn.net/testcs_dn/article/details/48711805
使用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 root67440.00.0 103260900 pts/1S+14:590:00 grep yum root259600.00.000 ?ZSep190:01 [yumBackend.py] < defunct
很遗憾,kill对付不了它,那怎么办呢?
可以通过强制关掉yum进程:
#rm -f /var/run/yum.pid
然后就可以使用yum了。
推荐阅读
- 解决spring mybatis 整合后mapper接口注入失败
- UVA 12113 Overlapping Squares
- Android 操作SQLite基本用法
- AppScan使用分享
- 安卓如何将TXT文件写到特定路径
- 原生APP和Web APP的区别
- android 资料
- cocos2dx 项目导入Eclipse 或 Android Studio
- Android零基础入门第82节(Activity数据回传)