yum提示Another app is currently holding the yum lock; waiting for it to exit...
来源:互联网 发布:linux hadoop 编辑:程序博客网 时间:2024/06/05 13:30
使用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...
- 1
- 2
- 3
- 4
- 1
- 2
- 3
- 4
可能是系统自动升级正在运行,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>
- 1
- 2
- 3
- 4
- 1
- 2
- 3
- 4
很遗憾,kill对付不了它,那怎么办呢?
可以通过强制关掉yum进程:
#rm -f /var/run/yum.pid
- 1
- 1
然后就可以使用yum了。
0 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.
- hibernate 缓存机制
- [LeetCode] 98. Validate Binary Search Tree
- Dubbo注册中心介绍
- 链接“xxxxxx”已断。将其丢弃到回收站中吗?无法使用此链接,因为其目标“xxxx”不存在。
- 详解C++虚函数与虚继承
- yum提示Another app is currently holding the yum lock; waiting for it to exit...
- LeetCode 3sum
- CSS的某些基本知识点一
- 安卓需要的颜色大全
- Elasticsearch-ES 5.x (Head,Kibana,X-Pack) 集群的部署、配置、测试
- java web工程中文乱码问题
- JSP+Servlet实现注册登录功能
- 常用SQL 语句汇总
- 关于a++和++a的区别,理解