Existing lock /var/run/yum.pid: another copy is running错误解决

Existing lock /var/run/yum.pid: another copy is running错误解决

如果在安装软件包过程中出现以下错误
Existing lock /var/run/yum.pid: another copy is running. Aborting.错误,
Loading “installonlyn” plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.
如果出现上述错误,可以通过以下方法解决,在终端中输入
[root@localhost ~]# rm -f /var/run/yum.pid
[root@localhost ~]# /etc/init.d/yum-updatesd stop
停止yum-updatesd:[确定]
列出仓库可用包
#yum list available
升级系统
# yum update
检查系统可用更新
# yum check-update

你可能感兴趣的:(F#)