linux yum提示Loaded plugins: fastestmirror, s…

2018-12-03 09:25:12来源:博客园 阅读 ()

新老客户大回馈,云服务器低至5折

[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

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:sudo控制权限简单用法介绍

下一篇:CPU上下文切换