文章转自

yum 下载东西突然卡主了,我直接ctrl+c退出,然后再次下载时候出现

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

解决:


 

方法一、

1)查询进程

# ps aux|grep yum
root      6744  0.0  0.0 103260   900 pts/1    S+   14:59   0:00 grep yum
root     25960  0.0  0.0      0     0 ?        Z    Sep19   0:01 [yumBackend.py] <defunct>

2)删除进程

# kill -s 9 进程id

方法二、

可以通过强制关掉yum进程:

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

 

相关文章:

  • 2022-12-23
  • 2021-07-07
  • 2021-12-25
  • 2022-01-23
猜你喜欢
  • 2021-12-26
  • 2021-08-21
相关资源
相似解决方案