An error was reported during yum installation, stating that /var/run/yum.pid was locked, the solution

如果在项目中,我们碰到/var/run/yum.pid 已被锁定

  • Run the following command directly in the terminal
rm -f /var/run/yum.pid 
  • Delete the file, and then run yum installation again

Guess you like

Origin blog.csdn.net/weixin_42449832/article/details/111466265