linux系統使用yum命令時,遇到出現以下錯誤:
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 3404.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 41 M RSS (253 MB VSZ)
Started: Wed Apr 11 07:03:37 2012 - 00:25 ago
State : Sleeping, pid: 3404
使用以下命令可以解決問題:
rm -rf /var/run/yum.pid