Yum Conflicting Requests for Package Causing Install or Upgrade to Fail
search cancel

Yum Conflicting Requests for Package Causing Install or Upgrade to Fail

book

Article ID: 430271

calendar_today

Updated On:

Products

Carbon Black EDR

Issue/Introduction

When attempting to install or upgrade cb-enterprise, yum returns a conflicting requestion a package. 

Error:
 Problem: package cb-enterprise-<version> requires <package> >= <version>, but none of the providers can be installed
  - conflicting requests
  - package <package> from <reponame> is filtered out by modular filtering

Environment

  • Carbon Black EDR: All Versions

Cause

Appstream module filter is preventing the package from being installed. 

Resolution

  1. Run this command to disable the modules:
    sudo yum module disable postgresql redis python38 python39
  2. Open the /etc/yum.repos.d/CarbonBlack.repo file to edit: 
    • Check if this config line is in the file. Add it if missing, or set it to 1: 
      module_hotfixes=1
  3. Clean the yum cache: .
    sudo yum clean all
  4. Validate Redis module is disabled. 
    sudo yum module list | grep 'redis'

    Example of the disabled module shows [x]
    yum module list | grep 'redis'
    redis           5 [d][x]        common [d]          Redis persistent key-value database                                                                
    redis           6 [x]           common [d]          Redis persistent key-value database    
  5. Attempt the install or upgrade again