dnf/yum command gives package conflict or none of the providers can be installed error

Solution Verified - Updated

Environment

  • Red Hat Satellite 6
  • Red Hat Enterprise Linux 8

Issue

  • dnf/yum update returns following error.
Problem 1: package authselect-compat-1.2.1-2.el8.x86_64 requires authselect(x86-64) = 1.2.1-2.el8, but none of the providers can be installed
  - cannot install both authselect-1.2.2-2.el8.x86_64 and authselect-1.2.1-2.el8.x86_64
  - cannot install the best update candidate for package authselect-compat-1.2.1-2.el8.x86_64
  - cannot install the best update candidate for package authselect-1.2.1-2.el8.x86_64
 Problem 2: package cockpit-bridge-238.2-1.el8.x86_64 conflicts with cockpit-storaged < 233 provided by cockpit-storaged-224.2-1.el8.noarch
  - cannot install the best update candidate for package cockpit-storaged-224.2-1.el8.noarch
  - cannot install the best update candidate for package cockpit-bridge-224.2-1.el8.x86_64

Resolution

  • From Red Hat Satellite webui, sync both Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) and Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) repositories to download all latest packages.
  Content ---> Sync status
  • Once sync is completed, promote and publish a new version of the content view associated to the host.
  Content ---> Content views

To find the content view associated, run following command from the host.

  # subscription-manager identity
  • Finally, perform following steps on the host.
  # yum clean all
  # yum repolist
  # yum update

NOTE: For modular dependency problems see the article to include all Modular streams.

For more KB articles/solutions related to Red Hat Satellite 6.x Client Subscription Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Client Subscription Issues

Root Cause

  • Either repositories are not up to date or the associated content view is not promoted or published after a successful sync.

Diagnostic Steps

  • More errors:
# yum update
Updating Subscription Management repositories.
Tools                                                                                                                   122 kB/s |  19 kB     00:00
Red Hat Ansible Engine 2.9 for RHEL 8 x86_64 (RPMs)                                                                     9.9 MB/s | 1.8 MB     00:00
Red Hat Satellite Tools 6.7 for RHEL 8 x86_64 (RPMs)                                                                    931 kB/s | 147 kB     00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                    87 MB/s |  34 MB     00:00
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                                 72 MB/s |  26 MB     00:00
EPEL-RHEL8                                                                                                               43 MB/s |  10 MB     00:00
Error:
 Problem 1: package authselect-compat-1.2.1-2.el8.x86_64 requires authselect(x86-64) = 1.2.1-2.el8, but none of the providers can be installed
  - cannot install both authselect-1.2.2-2.el8.x86_64 and authselect-1.2.1-2.el8.x86_64
  - cannot install the best update candidate for package authselect-compat-1.2.1-2.el8.x86_64
  - cannot install the best update candidate for package authselect-1.2.1-2.el8.x86_64
 Problem 2: package python3-pip-9.0.3-18.el8.noarch requires platform-python-pip = 9.0.3-18.el8, but none of the providers can be installed
  - cannot install both platform-python-pip-9.0.3-19.el8.noarch and platform-python-pip-9.0.3-18.el8.noarch
  - cannot install the best update candidate for package python3-pip-9.0.3-18.el8.noarch
  - cannot install the best update candidate for package platform-python-pip-9.0.3-18.el8.noarch
 Problem 3: package fprintd-pam-1.90.0-0.20191121gitf022902.el8.x86_64 requires authconfig, but none of the providers can be installed
  - package authselect-compat-1.2.1-2.el8.x86_64 requires authselect(x86-64) = 1.2.1-2.el8, but none of the providers can be installed
  - package authselect-compat-1.0-13.el8.x86_64 requires authselect(x86-64) = 1.0-13.el8, but none of the providers can be installed
  - package authselect-compat-1.1-2.el8.x86_64 requires authselect(x86-64) = 1.1-2.el8, but none of the providers can be installed
  - package authselect-1.2.1-2.el8.x86_64 requires authselect-libs(x86-64) = 1.2.1-2.el8, but none of the providers can be installed
  - package authselect-1.0-13.el8.x86_64 requires authselect-libs(x86-64) = 1.0-13.el8, but none of the providers can be installed
  - package authselect-1.1-2.el8.x86_64 requires authselect-libs(x86-64) = 1.1-2.el8, but none of the providers can be installed
  - cannot install both authselect-libs-1.2.2-2.el8.x86_64 and authselect-libs-1.2.1-2.el8.x86_64
  - cannot install both authselect-libs-1.2.2-2.el8.x86_64 and authselect-libs-1.0-13.el8.x86_64
  - cannot install both authselect-libs-1.2.2-2.el8.x86_64 and authselect-libs-1.1-2.el8.x86_64
  - cannot install the best update candidate for package fprintd-pam-1.90.0-0.20191121gitf022902.el8.x86_64
  - cannot install the best update candidate for package authselect-libs-1.2.1-2.el8.x86_64
(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)
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.