標籤:linux
用yum安裝軟體提示的解決方案:
[[email protected] beauty]# yum install gcc
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 1479.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 55 M RSS (355 MB VSZ)
Started: Thu Oct 30 12:40:56 2014 - 1:17:37 ago
State : Sleeping, pid: 1479
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 55 M RSS (355 MB VSZ)
Started: Thu Oct 30 12:40:56 2014 - 1:17:39 ago
State : Sleeping, pid: 1479
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 55 M RSS (355 MB VSZ)
Started: Thu Oct 30 12:40:56 2014 - 1:17:41 ago
State : Sleeping, pid: 1479
這是由於鎖定了yum,使用rm -rf /var/run/yum.pid來解鎖就OK了
Another app is currently holding the yum lock; waiting for it to exit