yum で、Linux update
yum install
サポートが終了したRed Hat Linux(7、8、9)アップデート
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/599endrhlup.html
Red Hat Linux 8.0
http://www.fedoralegacy.org/docs/yum-rh8.php
参考に
rpm -Uvh http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-build-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-devel-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-python-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/popt-1.7.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/updates/i386/gnupg-1.0.7-14.i386.rpm
では途中でフリーズするので。
# wget
で全ファイル取得し、
# rpm -Uvh *.rpm
----------------------
[root@sip yum_file]# ls
gnupg-1.0.7-14.i386.rpm rpm-build-4.1.1-1.8x.i386.rpm
popt-1.7.1-1.8x.i386.rpm rpm-devel-4.1.1-1.8x.i386.rpm
rpm-4.1.1-1.8x.i386.rpm rpm-python-4.1.1-1.8x.i386.rpm
[root@sip yum_file]# rpm -Uvh rpm-4.1.1-1.8x.i386.rpm
警告: rpm-4.1.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7.1 is needed by rpm-4.1.1-1.8x
rpm = 4.1 is needed by (installed) rpm-python-4.1-1.06
rpm = 4.1 is needed by (installed) rpm-devel-4.1-1.06
rpm = 4.1 is needed by (installed) rpm-build-4.1-1.06
[root@sip yum_file]# rpm -Uvh rpm-*.rpm
警告: rpm-4.1.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7.1 is needed by rpm-4.1.1-1.8x
[root@sip yum_file]# rpm -Uvh pop*.rpm
警告: popt-1.7.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7 is needed by (installed) rpm-4.1-1.06
[root@sip yum_file]# rpm -Uvh *.rpm
警告: gnupg-1.0.7-14.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
警告: popt-1.7.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
Preparing... ########################################### [100%]
1:popt ########################################### [ 17%]
2:rpm ########################################### [ 33%]
3:gnupg ########################################### [ 50%]
4:rpm-build ########################################### [ 67%]
5:rpm-devel ########################################### [ 83%]
6:rpm-python ########################################### [100%]
[root@sip yum_file]#
----------------------
# wget http://ftp.freshrpms.net/pub/freshrpms/redhat/8.0/yum/yum-2.0.3-5.rh.fr.i386.rpm
[root@sip yum_file]# rpm -ivh yum-2.0.3-5.rh.fr.i386.rpm
警告: yum-2.0.3-5.rh.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
1:yum ########################################### [100%]
[root@sip yum_file]#vi /etc/yum.conf
----------------------
[os]
name=Red Hat Linux $releasever - $basearch - os
#コメントアウト
#baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/os
#追加
baseurl=http://riksun.riken.go.jp/pub/Linux/fedoralegacy/redhat/$releasever/os/
basearch/
[updates]
name=Red Hat Linux $releasever - $basearch - updates
#コメントアウト
#baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/updates
#追加
baseurl=http://riksun.riken.go.jp/pub/Linux/fedoralegacy/redhat/$releasever/os/$basearch/
----------------------
# rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
[root@sip yum_file]# yum update
これでOK
サポートが終了したRed Hat Linux(7、8、9)アップデート
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/599endrhlup.html
Red Hat Linux 8.0
http://www.fedoralegacy.org/docs/yum-rh8.php
参考に
rpm -Uvh http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-build-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-devel-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/rpm-python-4.1.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/legacy-utils/i386/popt-1.7.1-1.8x.i386.rpm \
http://download.fedoralegacy.org/redhat/8.0/updates/i386/gnupg-1.0.7-14.i386.rpm
では途中でフリーズするので。
# wget
で全ファイル取得し、
# rpm -Uvh *.rpm
----------------------
[root@sip yum_file]# ls
gnupg-1.0.7-14.i386.rpm rpm-build-4.1.1-1.8x.i386.rpm
popt-1.7.1-1.8x.i386.rpm rpm-devel-4.1.1-1.8x.i386.rpm
rpm-4.1.1-1.8x.i386.rpm rpm-python-4.1.1-1.8x.i386.rpm
[root@sip yum_file]# rpm -Uvh rpm-4.1.1-1.8x.i386.rpm
警告: rpm-4.1.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7.1 is needed by rpm-4.1.1-1.8x
rpm = 4.1 is needed by (installed) rpm-python-4.1-1.06
rpm = 4.1 is needed by (installed) rpm-devel-4.1-1.06
rpm = 4.1 is needed by (installed) rpm-build-4.1-1.06
[root@sip yum_file]# rpm -Uvh rpm-*.rpm
警告: rpm-4.1.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7.1 is needed by rpm-4.1.1-1.8x
[root@sip yum_file]# rpm -Uvh pop*.rpm
警告: popt-1.7.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
popt = 1.7 is needed by (installed) rpm-4.1-1.06
[root@sip yum_file]# rpm -Uvh *.rpm
警告: gnupg-1.0.7-14.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
警告: popt-1.7.1-1.8x.i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
Preparing... ########################################### [100%]
1:popt ########################################### [ 17%]
2:rpm ########################################### [ 33%]
3:gnupg ########################################### [ 50%]
4:rpm-build ########################################### [ 67%]
5:rpm-devel ########################################### [ 83%]
6:rpm-python ########################################### [100%]
[root@sip yum_file]#
----------------------
# wget http://ftp.freshrpms.net/pub/freshrpms/redhat/8.0/yum/yum-2.0.3-5.rh.fr.i386.rpm
[root@sip yum_file]# rpm -ivh yum-2.0.3-5.rh.fr.i386.rpm
警告: yum-2.0.3-5.rh.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
1:yum ########################################### [100%]
[root@sip yum_file]#vi /etc/yum.conf
----------------------
[os]
name=Red Hat Linux $releasever - $basearch - os
#コメントアウト
#baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/os
#追加
baseurl=http://riksun.riken.go.jp/pub/Linux/fedoralegacy/redhat/$releasever/os/
basearch/
[updates]
name=Red Hat Linux $releasever - $basearch - updates
#コメントアウト
#baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/updates
#追加
baseurl=http://riksun.riken.go.jp/pub/Linux/fedoralegacy/redhat/$releasever/os/$basearch/
----------------------
# rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
[root@sip yum_file]# yum update
これでOK