Centos Another app is currently holding the yum lock
生活随笔
收集整理的這篇文章主要介紹了
Centos Another app is currently holding the yum lock
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
yum命令用ctrl+z命令中斷后,再運行yum時,出現:
Existing lock /var/run/yum.pid: another copy is running as pid 3046. Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; waiting for it to exit...解決方案:
rm -f /var/run/yum.pid/sbin/service yum-updatesd restartStopping yum-updatesd: [ OK ] Starting yum-updatesd: [ OK ]? ?yum-updatesd上系統自帶的一個提供系統更新的服務,安裝文件也叫做yum-updatesd,這個服務默認是自動啟動的(init 5),因為系統只允許一個更新進程在運行,所以他運行的時候會自動給yum加鎖,這就導致了開機后不能手動進行yum了。
?
轉載于:https://www.cnblogs.com/lzxianren/p/4254059.html
總結
以上是生活随笔為你收集整理的Centos Another app is currently holding the yum lock的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 寒假训练1解题报告
- 下一篇: Centos7.X通过rpm包安装Doc