Locked when running yum

When running yum, /var/run/yum.pid is locked, and another program with PID 12800 is running

1. Problem

/Var/run/yum.pid has been locked when installing network source yum
Insert picture description here

Two. Solve

rm -rf /var/run/yum.pid #Run yum again after deleting the file
Insert picture description here

Guess you like

Origin blog.csdn.net/LI_MINGXUAN/article/details/114602497