使用yum安装软件时提示Existing lock /var/run/yum.pid: another copy is running as pid 17078.,是因为yum已经在后台运行,pid为17078,将此进程结束掉即可。

 

Linux使用Yum安装软件包时提示Existing lock /var/run/yum.pid: another copy is running as pid 17078

 

 

1、查看后台进程,yum的进程pid为17078

[[email protected] ~]# ps

[[email protected] ~]# jobs

Linux使用Yum安装软件包时提示Existing lock /var/run/yum.pid: another copy is running as pid 17078

 

 

2、结束YUM

[[email protected] ~]# kill -9 17078       //-9:强制杀死进程

[[email protected] ~]# kill %1               //杀死job号[1]

相关文章: