Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
“yum lockfile is held by another process”
Solution:
# rm -f /var/run/yum.pid