关于linux的yum安装时提示Another app is currently holding the yum lock; waiting for it to exit...错误的解决方法

在Linux系统中,遇到yum安装时由于PackageKit持有yum锁导致无法继续安装的问题。通过`ps aux | grep yum`命令找到并结束相关进程(如PID为4065的进程),然后重新尝试安装,问题得以解决。
摘要由CSDN通过智能技术生成

yum安装时提示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...
  另一个应用程序是:PackageKit
    内存: 30 M RSS (446 MB VSZ)
    已启动: Mon Oct 24 15:24:21 2022 - 03:11之前
    状态  :运行中,进程ID:4065


直接如下操作(查看进程,杀死删除进程,再次查看)

[root@192 itcast001]# ps aux|grep yum
root       4065  5.8 13.3 570032 133332 ?       SN   15:24   0:24 /usr/bin/python /usr/share/PackageKit/helpers/yum/yumBackend.py get-updates none
root      16111  0.0  0.0 112824   976 pts/0    R+   15:31   0:00 grep --color=auto yum
[root@192 itcast001]# kill -9 4065
[root@192 itcast001]# ps aux|grep yum
root      18506 46.0  4.5 396580 45532 ?        R    15:32   0:00 /usr/bin/python /usr/share/PackageKit/helpers/yum/yumBackend.py get-updates none
root      18508  0.0  0.0 112824   972 pts/0    R+   15:32   0:00 grep --color=auto yum
 

之后重新安装即可

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值