码迷,mamicode.com
首页 > 移动开发 > 详细

yum被lock 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 exi

时间:2018-08-23 02:23:49      阅读:370      评论:0      收藏:0      [点我收藏+]

标签:ima   mini   epel   ...   update   term   rem   ini   xxxx   

[root@xxx 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

 

[root@xxxx bin]# rm -r /var/run/yum.pid
rm: remove regular file `/var/run/yum.pid‘? y
[root@iZm5eik57sceo3kq6asrexZ bin]# /sbin/service yum-updatesd restart
yum-updatesd: unrecognized service
[root@iZm5eik57sceo3kq6asrexZ bin]# cd
[root@iZm5eik57sceo3kq6asrexZ ~]# /sbin/service yum-updatesd restart
yum-updatesd: unrecognized service
[root@iZm5eik57sceo3kq6asrexZ ~]# 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 currently holding the yum lock; waiting for it to exi

标签:ima   mini   epel   ...   update   term   rem   ini   xxxx   

原文地址:https://www.cnblogs.com/yyxx8888/p/9521104.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!