dnf update fails on RHEL 8 due to conflicting python3-setuptools versions

Solution Verified - Updated -

Issue

  • The dnf update command 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content