linux yum提示Loaded plugins: fastestmirror, security錯誤的解決方法


[root@lamp02 yum.repos.d]# yum install nfs-utils rpcbind -y

Loaded plugins: fastestmirror, security
Existing lock /var/run/yum.pid: another copy is running as pid 3517.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 24 M RSS (856 MB VSZ)
Started: Sun Dec 2 14:22:30 2018 - 10:05 ago
State : Traced/Stopped, pid: 3517
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 24 M RSS (856 MB VSZ)
Started: Sun Dec 2 14:22:30 2018 - 10:07 ago
State : Traced/Stopped, pid: 3517

在yum使用過程中,有時會出現Loaded plugins錯誤,重啟無效,經過百度發現只要刪除/var/run/yum.pid就可以正常使用了,即rm -rf /var/run/yum.pid。

具體命令如下:

rm -rf /var/run/yum.pid

/sbin/service yum-updatesd restart


免責聲明!

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



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