问题描述:
使用yum安装epel-release,结果提示:
[root@localhost etc]# yum -y install epel-release
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 2851.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 24 M RSS (419 MB VSZ)
Started: Tue Sep 18 11:15:21 2018 - 10:39 ago
State : Traced/Stopped, pid: 2851
解决方法:
强制关掉yum进程:
[root@localhost etc]# rm -rf /var/run/yum.pid
继续使用yum,enjoy it !
参考文章:https://blog.youkuaiyun.com/testcs_dn/article/details/48711805
本文介绍了解决使用yum安装epel-release过程中遇到的锁冲突问题。当另一进程持有yum锁时,可以通过强制关闭进程来解决问题。
1781

被折叠的 条评论
为什么被折叠?



