微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

CentOS yum下提示Another app is currently holding the yum lock

yum命令用ctrl+z命令中断后,再运行yum时,出现:
Existing lock /var/run/yum.pid: anothercopyis running as pid 3046.
Another app is currently holding theyumlock; waiting for it to exit...
Another app is currently holding theyumlock; waiting for it to exit...
Another app is currently holding theyumlock; waiting for it to exit...
Another app is currently holding theyumlock; waiting for it to exit...
Another app is currently holding theyumlock; waiting for it to exit...
NND,说我正在使用yum。输入
rm-f /var/run/yum.pid
/sbin/serviceyum-updatesd restart

Stoppingyum-updatesd: [ OK ]
Startingyum-updatesd: [ OK ]

好了,一切正常了


文章出处http://www.360doc.com/content/11/0211/16/4171006_92183173.shtml

原文地址:https://www.jb51.cc/centos/379973.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。