yum因被锁定导致无法执行相关操作的解决方法

admin 2022年5月16日21:27:09系统文档评论1,852 次浏览阅读模式

说明:执行yum命令时,提示“Another app is currently holding the yum lock; waiting for it to exit...”等错误字样。这是因为yum被锁定无法使用导致的。

方法:

rm -rf /var/run/yum.pid   #删除yum.pid强行解除锁定即可

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2022年5月16日21:27:09
  • 转载请务必保留本文链接:https://anyun.org/a/jishuguanzhu/xitongwendang/2022/0516/11708.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: