Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

如果出现上述错误,直接输入下列命令再运行就好了
可以直接输入 rm -f    /var/run/yum.pid

[root@localhost ~]# /etc/init.d/yum-updatesd stop
停止 yum-updatesd: [确定]

[2]
列出仓库可用包
#yum list available

升级系统
# yum update

检查系统可用更新
# yum check-update

升级内核
#yum update kernel

(一般说出现 pid 2170 或是其他的错误代码 如:pid 3380 pid 2800啊等也是这个问题)

arrow
arrow
    全站熱搜

    forteallan 發表在 痞客邦 留言(0) 人氣()