yum提示Another app is currently holding the yum lock; waiting for it to exit...
来源:互联网 发布:创建windows窗口程序 编辑:程序博客网 时间:2024/05/22 16:58
使用yum安装计划任务功能,结果提示:
# yum -y install vixie-cronLoaded plugins: fastestmirror, refresh-packagekit, securityExisting 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 yumroot 6744 0.0 0.0 103260 900 pts/1 S+ 14:59 0:00 grep yumroot 25960 0.0 0.0 0 0 ? Z Sep19 0:01 [yumBackend.py] <defunct>
很遗憾,kill对付不了它,那怎么办呢?
可以通过强制关掉yum进程:
#rm -f /var/run/yum.pid
然后就可以使用yum了。
2 0
- 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提示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提示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
- CentOS7 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提示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命令提示"Another app is currently holding the yum lock; waiting for it to exit..."
- Linux 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.
- cache的时间长的方法。
- Android layout属性大全
- #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER);
- android studio 导入 github 项目代码
- 【BLE】CC2541之主机端获取广播包数据
- yum提示Another app is currently holding the yum lock; waiting for it to exit...
- linux问题 处理
- Android中级教程之--------进程的优先级
- eclipse tomcat 添加不了maven项目解决办法
- UVa489——Hangman Judge
- ITOO4.0项目总结--成长
- leetcode4
- 研究pixhawk的makefile的结构(2)
- 纯JAVA写的socket局域网斗地主游戏