网站首页 博客 centos使用yum报错提示lock的解决方法
centos使用yum报错提示lock的解决方法
 2020-05-04 00:20:30  管理员  352

使用yum命令时报错:

Existing lock /var/run/yum.pid.

Another app is currently holding the yum lock; waiting for it to exit...

The other application is: yum

解决方法:

删除yum的pid文件

# rm -f /var/run/yum.pid

然后就可以正常使用yum命令了


来说两句吧
最新评论