Redhat 7 では yum コマンドを実行できません。

Redhat 7 では yum コマンドを実行できません。

新しい Red Hat Enterprise Linux Server バージョン 7.3 があり、リンクの手順に従ってこのシステムに Ambari Server をインストールしようとしています。

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo_lnx7.html

最初のステップを実行できます

wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo

ただし、後続の手順を実行すると、yum repolist次のyum install ambari-serverエラーが発生します。

Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager


rhn-plugin: RPM error.  The message was:
Could not determine what version of Red Hat Linux you are running.
If you get this error, try running 

        rpm --rebuilddb

上記のコマンドを実行しましたが、問題は解決されませんでした。答えを見つけようとしましたが、インターネット上で何も見つかりませんでした。

誰でもこの問題を確認できますか?

ベストアンサー1

おすすめ記事