yum被lock Existing lock /var/run/yum.pid: another copy is running as pid 1580. Another app is current
Posted 现实不似你所见
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yum被lock Existing lock /var/run/yum.pid: another copy is running as pid 1580. Another app is current相关的知识,希望对你有一定的参考价值。
[[email protected] bin]# yum -y install lrzsz
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 1580.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 37 M RSS (331 MB VSZ)
Started: Wed Aug 22 23:05:35 2018 - 12:26 ago
State : Traced/Stopped, pid: 1580
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 37 M RSS (331 MB VSZ)
Started: Wed Aug 22 23:05:35 2018 - 12:28 ago
State : Traced/Stopped, pid: 1580
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
执行 rm -r /var/run/yum.pid 提示是否删除 输入y
[[email protected] bin]# rm -r /var/run/yum.pid
rm: remove regular file `/var/run/yum.pid‘? y
[[email protected] bin]# /sbin/service yum-updatesd restart
yum-updatesd: unrecognized service
[[email protected] bin]# cd
[[email protected] ~]# /sbin/service yum-updatesd restart
yum-updatesd: unrecognized service
[[email protected] ~]# yum -y install lrzsz
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
epel 12518/12518
extras | 3.4 kB 00:00
extras/primary_db | 25 kB 00:00
updates
以上是关于yum被lock Existing lock /var/run/yum.pid: another copy is running as pid 1580. Another app is current的主要内容,如果未能解决你的问题,请参考以下文章
yum 提示Existing lock /var/run/yum.pid waiting for
another app is currently hold yum lock问题