訳あって、サポート契約が切れたRHEL V4のアップデートをしなければならなくなった。
そのメモ
(1)必要なrpmのダウンロードと実行
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/centos-release-4-8.i386.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm
(2)/etc/yum.repos.d/CentOS-Base.repoの編集
mirrorの部分をコメントアウト
そして以下をその下に追記
baseurl=http://vault.centos.org/4.9/os/$basearch/
baseurl=http://vault.centos.org/4.9/updates/$basearch/
baseurl=http://vault.centos.org/4.9/addons/$basearch/
baseurl=http://vault.centos.org/4.9/extras/$basearch/
baseurl=http://vault.centos.org/4.9/centosplus/$basearch/
baseurl=http://vault.centos.org/4.9/contrib/$basearch/
そのメモ
(1)必要なrpmのダウンロードと実行
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/centos-release-4-8.i386.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm
wget http://vault.centos.org/4.8/os/i386/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm
(2)/etc/yum.repos.d/CentOS-Base.repoの編集
mirrorの部分をコメントアウト
そして以下をその下に追記
baseurl=http://vault.centos.org/4.9/os/$basearch/
baseurl=http://vault.centos.org/4.9/updates/$basearch/
baseurl=http://vault.centos.org/4.9/addons/$basearch/
baseurl=http://vault.centos.org/4.9/extras/$basearch/
baseurl=http://vault.centos.org/4.9/centosplus/$basearch/
baseurl=http://vault.centos.org/4.9/contrib/$basearch/