
varrunyum.pid 已被鎖定,PID 為 xxxx 的另一個程序正在運行的問題解決
剛剛打開虛擬機(jī),然后打算安裝sharutils 工具
在安裝sharutils 工具的時候 終端提示 “/var/run/yum.pid 已被鎖定,PID 為 1610 的另一個程序正在運行?!?/span>root@steven ~]# yum install sharutils -y
已加載插件:fastestmirror, curity
/var/run/yum.pid 已被鎖定,PID 為 1610 的另一個程序正在運行。
另外一個程序鎖定了 yum;等待它退出……
The other application is: yum
Memory : 23 M RSS (700 MB VSZ)
Started: Wed Mar 18 12:24:18 2015 - 00:13 ago
State : Uninterruptible, pid: 1610
另外一個程序鎖定了 yum;等待它退出……
The other application is: yum
Memory : 23 M RSS (701 MB VSZ)
Started: Wed Mar 18 12:24:18 2015 - 00:15 ago
State : Running, pid: 1610
另外一個程序鎖定了 yum;等待它退出……
The other application is: yum
Memory : 23 M RSS (701 MB VSZ)
Started: Wed Mar 18 12:24:18 2015 - 00:17 ago
State : Sleeping, pid: 1610網(wǎng)上統(tǒng)一的解決辦法:直接在終端運行 rm -f /var/run/yum.pid 將該文件刪除,然后再次運行yum。