yum提示Another app is currently holding the yum lock; waiting for it to exit...
2023-09-27 14:21:38 时间
使用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 4772 # 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
然后就可以使用yum了。
相关文章
- 成功的IT项目的关键要素
- 2014年年度工作总结--IT狂人实录
- 不懂点儿“黑话”,别说你是混IT圈的
- 中伦携手联想企业网盘,IT驱动企业效率变革
- CIO需知:软件机器人与AI技术将转变IT运营模式
- 大数据时代IT或被DT替代
- IDC:2017年公有云和私有云将推动云IT基础设施支出增长
- 从太平洋保险DCOS实践看企业IT架构演变
- 启明创投合伙人甘剑平:IT界的下一个十年
- Gartner预计2016年中国IT支出将达2.3万亿元人民币
- DevSecOps实践中 如何平衡网络安全与IT运维 用事件应急响应举个例子
- Another app is currently holding the yum lock; waiting for it to exit...
- 云管理平台为混合IT应用提供统一的方法
- Alamofire iOS 发送HTTP请求报错:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
- 记一篇IT培训日记065-留级生
- 记一篇IT培训日记003-开班