RedHat9でyum
参考サイト
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/...
http://www.fedoraproject.org/wiki/Legacy/Yum9Detai...
http://download.fedoralegacy.org/redhat/9/updates/... を取得しています
警告: /var/tmp/rpm-xfer.IGouQ3: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:gnupg ########################################### [100%]
警告: /var/tmp/rpm-xfer.GHJfBi: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
libxml2-python is needed by yum-2.0.5-0.9.2.legacy
libxml2-pythonが必要らしい。
python-2.5.4-3.rh9.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/... を取得しています
警告: /var/tmp/rpm-xfer.A8v8bT: V3 DSA signature: NOKEY, key ID db42a60e
エラー: Failed dependencies:
libxml2 = 2.5.4 is needed by libxml2-python-2.5.4-3.rh9
libxml2.so.2 is needed by libxml2-python-2.5.4-3.rh9
ん!? ああ・・・ libxml2-pythonにはlixml2が必要なのね。
まったく 依存関係って奴は!
2.5.4-3.rh9.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/... を取得しています
警告: /var/tmp/rpm-xfer.Ktauw3: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:libxml2 ########################################### [100%]
Preparing... ########################################### [100%]
1:libxml2-python ########################################### [100%]
Preparing... ########################################### [100%]
1:yum ########################################### [100%]
rpm --import http://www.redhat.com/security/db42a60e.txt
※ここの操作のために準備作業のgnupgをインストールが必要
GPGの追加が足りていなかったようだ。
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID db42a60e
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/base/packages/libcap-1.10-15.i386.rpm
Error: You may want to run yum clean or remove the file:
/var/cache/yum/base/packages/libcap-1.10-15.i386.rpm
Error: You may also check that you have the correct GPG keys installed
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/...
http://www.fedoraproject.org/wiki/Legacy/Yum9Detai...
準備段階としてgnupgをインストール
rpm -Uvh http://download.fedoralegacy.org/redhat/9/updates/...http://download.fedoralegacy.org/redhat/9/updates/... を取得しています
警告: /var/tmp/rpm-xfer.IGouQ3: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:gnupg ########################################### [100%]
yumのインストール
rpm -ivh http://download.fedoralegacy.org/redhat/9/legacy-u...- 2.0.5-0.9.2.legacy.noarch.rpm
警告: /var/tmp/rpm-xfer.GHJfBi: V3 DSA signature: NOKEY, key ID 731002fa
エラー: Failed dependencies:
libxml2-python is needed by yum-2.0.5-0.9.2.legacy
libxml2-pythonが必要らしい。
libxml2-pythonの追加
rpm -Uvh http://download.fedoralegacy.org/redhat/9/updates/...python-2.5.4-3.rh9.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/... を取得しています
警告: /var/tmp/rpm-xfer.A8v8bT: V3 DSA signature: NOKEY, key ID db42a60e
エラー: Failed dependencies:
libxml2 = 2.5.4 is needed by libxml2-python-2.5.4-3.rh9
libxml2.so.2 is needed by libxml2-python-2.5.4-3.rh9
ん!? ああ・・・ libxml2-pythonにはlixml2が必要なのね。
まったく 依存関係って奴は!
libxml2の追加
rpm -Uvh http://download.fedoralegacy.org/redhat/9/updates/...2.5.4-3.rh9.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/... を取得しています
警告: /var/tmp/rpm-xfer.Ktauw3: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:libxml2 ########################################### [100%]
あたらめてlibxml2-pythonの追加
警告: /var/tmp/rpm-xfer.vXUgNX: V3 DSA signature: NOKEY, key ID db42a60ePreparing... ########################################### [100%]
1:libxml2-python ########################################### [100%]
あらためてyumのインストール
警告: /var/tmp/rpm-xfer.LcSPTv: V3 DSA signature: NOKEY, key ID 731002faPreparing... ########################################### [100%]
1:yum ########################################### [100%]
GPGの追加
rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEYrpm --import http://www.redhat.com/security/db42a60e.txt
※ここの操作のために準備作業のgnupgをインストールが必要
アップデート
yum updateコマンド
yum update
yum list installed
yum -y install xxxxx
error
ntpdをインストールしようとして、以下のエラーが発生。GPGの追加が足りていなかったようだ。
rpm --import http://www.redhat.com/security/db42a60e.txtをして解決
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID db42a60e
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/base/packages/libcap-1.10-15.i386.rpm
Error: You may want to run yum clean or remove the file:
/var/cache/yum/base/packages/libcap-1.10-15.i386.rpm
Error: You may also check that you have the correct GPG keys installed
2007年01月07日(日) 19:07:43 Modified by glass57