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
之后重新安装即可