EPELリポジトリを含むCentOS 8.5.2111:dnfを介したAnsibleアップグレードが失敗する

EPELリポジトリを含むCentOS 8.5.2111:dnfを介したAnsibleアップグレードが失敗する

CentOS Linuxバージョン8.5.2111システムにansible-2.9.27-1.el8.noarchをインストールしました。これを行うには、「dnf install epel-release」を使用して「epel-release」リポジトリを有効にしました。

"dnf アップグレード ansible" を使用して Ansible をアップグレードしようとすると、奇妙な "ansible-5.4.0-2.el8.noarch 要件なし (ansible-core >= 2.12.2 with ansible-core < 2.13)" エラーが発生する。

ここに画像の説明を入力してください。

[root@jenkins-master ~]# rpm -qR ansible
/usr/bin/python3.6
config(ansible) = 2.9.27-1.el8
python(abi) = 3.6
python3-jinja2
python3-jmespath
python3-pyyaml
python3-setuptools
python3-six
python3.6dist(cryptography)
python3.6dist(jinja2)
python3.6dist(pyyaml)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
sshpass
[root@jenkins-master ~]# dnf provides *ansible-core*
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 1:20:35 ago on Tue Jun  7 13:37:36 2022.
ansible-5.4.0-2.el8.noarch : Curated set of Ansible collections included in addition to ansible-core
Repo        : epel
Matched from:
Other       : *ansible-core*
[root@jenkins-slave1 yum.repos.d]# ls -1
CentOS-Linux-AppStream.repo
CentOS-Linux-BaseOS.repo
CentOS-Linux-ContinuousRelease.repo
CentOS-Linux-Debuginfo.repo
CentOS-Linux-Devel.repo
CentOS-Linux-Extras.repo
CentOS-Linux-FastTrack.repo
CentOS-Linux-HighAvailability.repo
CentOS-Linux-Media.repo
CentOS-Linux-Plus.repo
CentOS-Linux-PowerTools.repo
CentOS-Linux-Sources.repo
docker.repo
epel-modular.repo
epel-testing-modular.repo
epel-testing.repo
epel.repo

[root@jenkins-slave1 yum.repos.d]# grep enabled=1 *
CentOS-Linux-AppStream.repo:enabled=1
CentOS-Linux-BaseOS.repo:enabled=1
CentOS-Linux-Extras.repo:enabled=1
epel-modular.repo:enabled=1
epel.repo:enabled=1
epel.repo:enabled=1
epel.repo:enabled=1

この問題を解決する方法を知っている人はいますか? CentOSストリームの切り替えに関連していますか?

ベストアンサー1

おすすめ記事