標籤:
Loaded plugins: fastestmirror, refresh-packagekit, securityExisting lock /var/run/yum.pid: another copy is running as pid 2135.Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 43 M RSS (891 MB VSZ) Started: Wed Apr 1 03:57:30 2015 - 02:23 ago State : Sleeping, pid: 2135Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 43 M RSS (891 MB VSZ) Started: Wed Apr 1 03:57:30 2015 - 02:25 ago State : Sleeping, pid: 2135Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 43 M RSS (891 MB VSZ) Started: Wed Apr 1 03:57:30 2015 - 02:27 ago State : Running, pid: 2135
這是因為後台可能有其它的軟體在執行安裝,佔用的yum程式
1 . 可以使用 rm -rf /var/run/yum.pid 來強制接觸yum鎖定,就可以了
2. 等待yum自己解除鎖定(個人認為這樣好點,它可能在安裝系統必要的其它程式,如果強制解除,可能會有問題)
3. 我遇到這個問題的時候等了大概2分鐘左右的時間,它就自動解除鎖定了
Centos6.5使用yum安裝軟體的時候 Another app is currently holding the yum lock; waiting for it to exit...