Yum hint Another app is currently holding the Yum lock; Waiting for it to exit ...
[[Email protected] ~]# yum repolistanother app is currently holding the yum lock; waiting for it to exit... the other application is: PackageKit Memory : 153 M RSS (266 mb vsz) Started: Thu Jul 12 00:03:05 2012 - 06:17 ago state : sleeping, pid: 14997another app is currently holding the yum lock; waiting for it to exit... the other application is: packagekit memory : 153 m rss (266 mb vsz) started: thu jul 12 00:03:05 2012 - 06:19 ago state : sleeping, pid: 14997
It may be that the system is automatically upgraded and Yum is in a locked state.
There is already a Yum process running, kill it with Kill:
# kill-s 9 14997# PS aux|grep yumroot 6744 0.0 0.0 103260 0.0 pts/1 s+ 14:59 0:00 grep yumroot 14997 0.0 0 0 ? Z Sep19 0:01 [yumbackend.py] <defunct>1234
I'm sorry, kill can't deal with it.
You can disable the Yum process by forcing:
Workaround:
Rm-rf/var/run/yum.pid to forcibly unlock, and then your Yum can run
Yum hint Another app is currently holding the Yum lock