有时在执行yum命令中短线或强制时没有干净,导致下次运行时提示:Another app is currently holding the yum lock; waiting for it to exit..

解决方法 :
rm -f /var/run/yum.pid
执行以上命令删除yum.pid即可。
有时在执行yum命令中短线或强制时没有干净,导致下次运行时提示:Another app is currently holding the yum lock; waiting for it to exit..

rm -f /var/run/yum.pid
如何在 CentOS/RHEL 7 及更早版本中使用 YUM 管理软件包教程
GSNode:一键检测 VPS IP 质量、流媒体解锁、回程线路与服务器性能脚本
Podman Quadlet 实用教程:用 systemd 管理 rootless 容器
搬瓦工VPS 如何升级并调用 DeepSeek V4 API 教程:Pro / Flash 双模型 + 1M 上下文
WorkBuddy:腾讯云推出的桌面AI智能体,重新定义本地办公自动化,免部署,1分钟极速上岗