有時在執(zhí)行yum命令中短線或強制時沒有干凈,導致下次運行時提示:Another app is currently holding the yum lock; waiting for it to exit..

解決方法 :
rm -f /var/run/yum.pid
執(zhí)行以上命令刪除yum.pid即可。
有時在執(zhí)行yum命令中短線或強制時沒有干凈,導致下次運行時提示:Another app is currently holding the yum lock; waiting for it to exit..

rm -f /var/run/yum.pid
如何在 CentOS/RHEL 7 及更早版本中使用 YUM 管理軟件包教程
寶塔「安裝即建站」實測:搬瓦工VPS一鍵部署WordPress,新手建站少踩一半坑
GSNode:一鍵檢測 VPS IP 質(zhì)量、流媒體解鎖、回程線路與服務器性能腳本
Podman Quadlet 實用教程:用 systemd 管理 rootless 容器
搬瓦工VPS 如何升級并調(diào)用 DeepSeek V4 API 教程:Pro / Flash 雙模型 + 1M 上下文
WorkBuddy:騰訊云推出的桌面AI智能體,重新定義本地辦公自動化,免部署,1分鐘極速上崗