<p>    一般在新安装系统的服务器中,我们使用Yum安装库,有时会提示</p>

Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  23 M RSS (414 MB VSZ)
    Started: Tue Mar 12 08:44:00 2019 - 1:20:21 ago
    State  : Traced/Stopped, pid: 8258

<p>    这个其实就是Yum被占用了(被锁了)</p>

<p>    你可以在系统中结束掉yum的进程</p>

rm -f /var/run/yum.pid

<p>    Centos重启yum:</p>

/sbin/service yum-updatesd restart

<p>    fedora重启yum</p>

systemctl status yum-updatesd.service

<p>    然后去执行yum命令,会发现可以正常运行了</p>

Last modification:March 1st, 2020 at 10:51 pm
如果觉得我的文章对你有用,请随意赞赏