yum lockfile is held by another process

使用yum安装软件报错

yum lockfile is held by another process

解决方法

rm -f /var/run/yum.pid 
原文地址:https://www.cnblogs.com/cyleon/p/11505054.html