CentOS8 Spacewalkクライアントrpmインストールの問題

CentOS8 Spacewalkクライアントrpmインストールの問題

CentOS8サーバーにspacewalkクライアントパッケージをインストールしようとすると、次のエラーメッセージが表示されます。この問題をどのように解決できますか?

# dnf install osad
Last metadata expiration check: 0:07:59 ago on Sun 15 Dec 2019 05:52:54 PM EST.
Error:
 Problem: package osad-5.11.109-1.el8.noarch requires python3-osad = 5.11.109-1.el8, but none of the providers can be installed
  - package python3-osad-5.11.109-1.el8.noarch requires python3, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides python3-setuptools needed by python36-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

コマンド出力の更新

# grep -rH enabled=1 /etc/yum.repos.d/*
/etc/yum.repos.d/CentOS-AppStream.repo:enabled=1
/etc/yum.repos.d/CentOS-Extras.repo:enabled=1
/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:group_spacewalkproject:nightly-client.repo:enabled=1


# yum provides python3-osad
Last metadata expiration check: 2:53:28 ago on Mon 16 Dec 2019 05:16:36 AM EST.
python3-osad-5.11.99-8.module_el8.0.0+43+68a81eb1.noarch : Open Source Architecture Daemon
Repo        : AppStream
Matched from:
Provide    : python3-osad = 5.11.99-8.module_el8.0.0+43+68a81eb1

python3-osad-5.11.109-1.el8.noarch : Open Source Architecture Daemon
Repo        : copr:copr.fedorainfracloud.org:group_spacewalkproject:nightly-client
Matched from:
Provide    : python3-osad = 5.11.109-1.el8

アップデート2

rhn-setup パッケージのインストール中にエラーが発生しました。

# grep -rH enabled=1 /etc/yum.repos.d/*
/etc/yum.repos.d/CentOS-AppStream.repo:enabled=1
/etc/yum.repos.d/CentOS-Extras.repo:enabled=1


# dnf install rhn-setup
Last metadata expiration check: 1:10:48 ago on Mon 16 Dec 2019 09:24:22 AM EST.
Error:
 Problem: conflicting requests
  - nothing provides usermode >= 1.36 needed by rhn-setup-2.8.16-13.module_el8.0.0+180+337688dc.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

# yum provides rhn-setup
Last metadata expiration check: 1:12:23 ago on Mon 16 Dec 2019 09:24:22 AM EST.
rhn-setup-2.8.16-13.module_el8.0.0+180+337688dc.x86_64 : Configure and register an RHN/Spacewalk client
Repo        : AppStream
Matched from:
Provide    : rhn-setup = 2.8.16-13.module_el8.0.0+180+337688dc

いくつかの店を見逃した。これを追加したら、これをインストールできます

これで、これらのリポジトリがアクティブになりました。

CentOS-AppStream.repo:enabled=1
CentOS-Base.repo:enabled=1
CentOS-Extras.repo:enabled=1
epel.repo:enabled=1

ベストアンサー1

fedorainfocloud リポジトリを削除します。 Fedoraで動作し、CentOS 8と互換性のないSpacewalkパッケージをインポートします。削除した後:

dnf install osad

おすすめ記事