Yum Update Conflicts with Openresty a and b, "Cannot install both openresty"
search cancel

Yum Update Conflicts with Openresty a and b, "Cannot install both openresty"

book

Article ID: 372671

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

When running 'yum update' the system finds both OpenResty versions available and gives a conflict message. 

Environment

  • Carbon Black EDR Server: 7.8.0 and higher
  • RHEL/CentOS 8 and higher. 

Cause

The EDR repo contains two OpenResty versions, a and b for the option to use the OpenSSL version on the system. 

Error:
 Problem: package cb-enterprise-7.8.0.230722.0708-1.el8.x86_64 requires openresty = 1.21.4.1-1a.cb.el8, but none of the providers can be installed
  - cannot install both openresty-1.21.4.1-1b.cb.el8.x86_64 and openresty-1.21.4.1-1a.cb.el8.x86_64
  - cannot install the best update candidate for package openresty-1.21.4.1-1a.cb.el8.x86_64
  - cannot install the best update candidate for package cb-enterprise-7.8.0.230722.0708-1.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)

Resolution

  1. Ignore the message and disable the /etc/yum.repos.d/CarbonBlack.repo by setting enabled=0
  2. Continue updating the system. 

Additional Information

  • It is generally best practice to disable the CarbonBlack repo to avoid accidental upgrade when doing a "yum update"
  • If you selected yes to the dependency, there is a chance the application was uninstalled. Simply run "yum install cb-enterprise" to re-install the application. 
  • If you wish to use the system OpenSSL version, please follow the instructions in the Server Management guide.