首页 > 代码库 > yum下提示Another app is currently holding the yum lock

yum下提示Another app is currently holding the yum lock

解决方案:

1、查看:ps -ef | grep yum

root      3160     1  0 14:47 ?        00:00:00 /usr/bin/python -tt /usr/sbin/yum-updatesd

root      3340  3160  0 14:47 ?        00:00:00 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus

root      3458  3374  0 14:56 pts/1    00:00:00 grep yum

2、kill 3160  3340  (kill 掉相关进程,多个进程用“空格分隔”)


3、可以删除 yum.pid文件 rm /etc/yum.pid


4、yum install *