• 世界75亿人,这么小的概率,能认识你,是我一生的幸运,不妨加个QQ接触一下:52249909

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

技术栈 lixian 7年前 (2020-01-05) 23203次浏览 0个评论

报错:

当我们在yum去安装一个软件的时候,会出现Existing lock /var/run/yum.pid: another copy is running as pid 这样的报错情况
如图所示:

解决:

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

rm -f /var/run/yum.pid

lx656.top , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Existing lock /var/run/yum.pid: another copy is running as pid 报错解决办法
喜欢 (8)

您必须 登录 才能发表评论!