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

简介: Another app is currently holding the yum lock; waiting for it to exit

问题描述:

Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory : 155 M RSS (1.5 GB VSZ)
    Started: Mon Jun  7 23:03:06 2021 - 00:47 ago
    State  : Sleeping, pid: 69911

临时解决:

 
#可能是系统自动升级正在运行,yum在锁定状态中
 
# kill -s 9 25960
# 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>

强制解决:

可以通过强制关掉yum进程:
 
#rm -f /var/run/yum.pid

 

相关文章
|
3月前
yum 报错:Another app is currently holding the yum lock; waiting for it to exit
开发过程中需要用到 yum 命令 有时候执行 yum 会报错如下
18 0
|
3月前
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
|
8月前
|
Ubuntu Docker 容器
|
5月前
|
缓存 Ubuntu Linux
错误 E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
错误 E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
|
5月前
Install fail! Error: EBUSY: resource busy or locked, symlink
Install fail! Error: EBUSY: resource busy or locked, symlink
56 0
|
5月前
|
JavaScript
win10执行npm出现Error: EBUSY: resource busy or locked 错误解决方法
win10执行npm出现Error: EBUSY: resource busy or locked 错误解决方法
win10执行npm出现Error: EBUSY: resource busy or locked 错误解决方法
yum提示Another app is currently holding the yum lock; waiting for it to exit竟然这样解决最快
yum提示Another app is currently holding the yum lock; waiting for it to exit竟然这样解决最快
91 0
|
IDE 开发工具
Waiting for another flutter command to release the startup lock... 异常解决
平时我们在开发flutter过程中,在执行`flutter packages get`命令之后,如果运气不好的,命令没有执行成功的话,我们就会遇到这个错误提示: ``` Waiting for another flutter command to release the startup lock... ```
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
219 0
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法