Yum/DNF Install or Upgrade Returns "Could Not Resolve Host: opensource.carbonblack.com"
search cancel

Yum/DNF Install or Upgrade Returns "Could Not Resolve Host: opensource.carbonblack.com"

book

Article ID: 429403

calendar_today

Updated On:

Products

Carbon Black EDR

Issue/Introduction

When installing or updating any application with yum or dnf, the following message is returned: 

curl: (6) Could not resolve host: opensource.carbonblack.com

 

Environment

  • Carbon Black EDR: All Versions
  • Carbon Black Event Forwarder: All Versions
  • Carbon Black Yara Connector: All Versions

Cause

The opensource.carbonblack.com repo is shutdown. 

  • Repo names: 
    • CbOpenSource
    • CbOpenSource2

Resolution

Remove the old CbOpenSource repo:

This file will need to be deleted or disabled to allow any yum/dnf installs. 

  1. Delete the CbOpenSource repo file 
    rm -f /etc/yum.repos.d/CbOpenSource.repo
  2. Clean yum cache 
    yum clean all
  3. Try again

Installing the Event Forwarder or Yara connector:

Follow the updated installation process in github for both install and upgrades. 

 

Additional Information

  • Yum checks each enabled repository in sequence. However if any repository hits an error yum will stop the search, regardless if the package exists in a subsequent repository. If either CbOpenSource repo is enabled, this error will stop yum from continuing to find packages when upgrading other applications or the operating system.