Translated message

A translation of this page exists in English.

yum grouplist を実行すると Error: No group data available for configured repositories メッセージが発生する

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 5.4
  • Red Hat Network (RHN)

Issue

  • サーバーで # yum grouplist を実行すると以下のエラーが発生する場合があります。

"Error:No group data available for configured repositories"

# service rhnsd restart  
rhnsd: unrecognized service

Resolution

  • rpm コマンドを実行して、RHN から以下のパッケージを手動でダウンロードしてインストールします。

rhnsd-4.7.0-5.el5
rhn-check-0.4.20-33.el5
yum-rhn-plugin-0.5.4-15.el5
rhn-client-tools-0.4.20-33.el5
rhn-setup-gnome-0.4.20-33.el5
rhn-setup-0.4.20-33.el5

次に、以下のコマンドを実行してシステムのプロファイルを同期して、RHN からアップデートを取得します。

# rpm -Uvh *.rpm
# service rhnsd restart  
# chkconfig rhnsd on  
# rm -rf /var/cache/yum/*  
# yum clean all  
# rhn-profile-sync  
# yum grouplist

Root Cause

  • RHN 関連のパッケージがインストールされていません。

Diagnostic Steps

# rpm -qa | grep rhn

このコマンドを実行すると、以下のようなパッケージリストを返します。

rhnlib-2.5.22-3.el5
rhnsd-4.7.0-5.el5
rhn-check-0.4.20-33.el5
yum-rhn-plugin-0.5.4-15.el5
rhn-client-tools-0.4.20-33.el5
rhn-setup-gnome-0.4.20-33.el5
rhn-setup-0.4.20-33.el5

  • Component
  • yum

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments