/var/run/yum.pid 已被鎖定,PID 爲 XXXX 的另外一個程序正在運行。

安裝st-load時, 終端提示 「/var/run/yum.pid 已被鎖定,PID 爲 13908 的另外一個程序正在運行。」c++

解決方法:直接在終端運行 rm -f /var/run/yum.pid 將該文件刪除,而後再次運行yum。git

 

即出現以下提示:app

[root@localhost ~]# yum install git unzip patch gcc gcc-c++ make
已加載插件:fastestmirror, langpacks
/var/run/yum.pid 已被鎖定,PID 爲 13908 的另外一個程序正在運行。
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 14:57以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 14:59以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:01以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:03以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:05以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:07以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:09以前
狀態 :運行中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:11以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:13以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:15以前
狀態 :運行中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:17以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:19以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:21以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:23以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:25以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:27以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:29以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:31以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:33以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:35以前
狀態 :睡眠中,進程ID:13908
Another app is currently holding the yum lock; waiting for it to exit...
另外一個應用程序是:PackageKit
內存:184 M RSS (1.5 GB VSZ)
已啓動: Wed Sep 7 09:21:27 2016 - 15:37以前
狀態 :睡眠中,進程ID:13908插件

相關文章
相關標籤/搜索