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

相关内容