yum报错:Another app is currently holding the yum lock

Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 84 M RSS (1.0 GB VSZ)
Started: Thu Nov 26 14:18:01 2020 - 02:14 ago
State : Sleeping, pid: 2996 Another app is currently holding the yum lock; waiting for it to exit...

yum进程正在被其他程序占用,使用 ps aux | grep yum 查看yum进程。
如果无所谓可以杀死该进程 kill -s 9 pid(yum进程pid)
如果还是不行就用 rm -f /var/run/yum.pid 强制结束yum进程

上一篇:creat-react-app


下一篇:linux 中yum命令提示Another app is currently holding the yum lock; waiting for it to exit... 已解决