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


安裝st-load時, 終端提示 “/var/run/yum.pid 已被鎖定,PID 為 13908 的另一個程序正在運行。”

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

 

即出現如下提示:

[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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM