yum

Fedora core では、yum を使うと更新が簡単らしい。

(1)/etc/yum.conf を編集
# LANG=C vi /etc/yum.conf
ー略ー
[base]
name=Fedora Core $$releasever – $basearch – Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os
[updates-released]
name=Fedora Core $$releasever – $basearch – Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch
ー略ー

(2)/etc/sysconfig/rhn/sourcesを編集
# LANG=C vi /etc/sysconfig/rhn/sources
ー略ー
yum fedora-core-1 http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os
yum update-released http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386
ー略ー

(3)rhnreg_ks を適当に実行してRHN登録の初期化だけしておく。実際に実行してもエラーになるのでRHN登録はされないが、必要なファイルか設定がされるらしい。

(4)更新をチェックするには
# yum check-update

(5)更新するには
# yum update

同じカテゴリの記事: Linux