dnf update fails on RHEL 8 due to conflicting python3-setuptools versions
Issue
-
The
dnf updatecommand fails on a Red Hat Enterprise Linux 8 system with the following error:Error: Problem: package python3-setuptools-39.2.0-6.el8.noarch from @System requires platform-python-setuptools = 39.2.0-6.el8, but none of the providers can be installed - cannot install both platform-python-setuptools-39.2.0-9.el8_10.noarch from rhel-8-for-x86_64-baseos-rpms and platform-python-setuptools-39.2.0-6.el8.noarch from @System - cannot install both platform-python-setuptools-39.2.0-9.el8_10.noarch from rhel-8-for-x86_64-baseos-rpms and platform-python-setuptools-39.2.0-6.el8.noarch from rhel-8-for-x86_64-baseos-rpms - cannot install the best update candidate for package python3-setuptools-39.2.0-6.el8.noarch - cannot install the best update candidate for package platform-python-setuptools-39.2.0-6.el8.noarch (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.