1. 程式人生 > >Linux關閉yum更新方法

Linux關閉yum更新方法

問題:Linux日誌出現如下報錯:

Apr 27 01:04:19 subn00 yum-updatesd: error getting update info: Cannot find a valid baseurl for repo: base
Apr 27 02:04:19 subn00 yum-updatesd: error getting update info: Cannot find a valid baseurl for repo: base
Apr 27 03:04:19 subn00 yum-updatesd: error getting update info: Cannot find a valid baseurl for repo: base

關閉yum更新方法:

[[email protected] log]# chkconfig --list|grep yum
yum-updatesd    0:off   1:off   2:on    3:on    4:on    5:on    6:off
[[email protected] log]# service yum-updatesd status
yum-updatesd (pid 2978) is running...
[[email protected] log]# service yum-updatesd stop
Stopping yum-updatesd: [  OK  ]
[

[email protected] log]# chkconfig yum-updatesd off
[[email protected] log]# chkconfig --list|grep yum
yum-updatesd    0:off   1:off   2:off   3:off   4:off   5:off   6:off