Existing lock /var/run/yum.pid: another copy is running as pid 解决办法

yum只能支持一个例程运行,所以如果有一个例程已经在运行,其他的必须等待该进程退出释放lock。出现这种情况时,可以用以下命令来恢复:

rm -f /var/run/yum.pid

  

原文地址:https://www.cnblogs.com/shione/p/7908280.html