yum运行时提示被锁的解决办法1、rm -r /var/run/yum.pid rm:是否删除 一般文件 “/var/run/yum.pid”? y 2、sbin/service yum-updatesd restart 3、yum install gcc*老狼2019-04-20服務器運維