このウィキの読者になる
更新情報がメールで届きます。
このウィキの読者になる
カテゴリー
最近更新したページ
最新コメント
Synergy by stunning seo guys
RedHat9でyum by stunning seo guys
MRTG by stunning seo guys
rpmbuild by stunning seo guys
WevDAV by awesome things!
ubuntuメモ by check it out
mingplotの導入 by check it out
ServerIron設定メモ by awesome things!
mount by stunning seo guys
FrontPage by check it out
Menu
ここは自由に編集できるエリアです。

RedHat9でyum

参考サイト
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
http://download.fedoralegacy.org/redhat/9/legacy-u... を取得しています
警告: /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 db42a60e
Preparing... ########################################### [100%]
  1:libxml2-python ########################################### [100%]

あらためてyumのインストール

警告: /var/tmp/rpm-xfer.LcSPTv: V3 DSA signature: NOKEY, key ID 731002fa
Preparing... ########################################### [100%]
  1:yum ########################################### [100%]

GPGの追加

rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
rpm --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




スマートフォン版で見る