使用centos時,使用yum安裝軟件,老是會遇到這種提示:
1.Existinglock/var/run/yum.pid:anothercopyisrunningaspid3053.
2.Anotherappiscurrentlyholdingtheyumlock;waitingforittoexit...
3.Theotherapplicationis:PackageKit
4.Memory:37MRSS(82MBVSZ)
5.Started:SunJan2416:11:532010-14:44ago
6.State:Sleeping,pid:3053
后來才發現只要把/etc/yum/pluginconf.d/refresh-packagekit.conf改為如下:
enabled=0
就OK了。