Error: Unable to find a match: cb-linux-sensor-installer-7.4.0.24479-1.noarch
search cancel

Error: Unable to find a match: cb-linux-sensor-installer-7.4.0.24479-1.noarch

book

Article ID: 407983

calendar_today

Updated On:

Products

Carbon Black EDR Carbon Black EDR (formerly Cb Response)

Issue/Introduction

After following the Installation Instructions of CB EDR Linux sensor in the release notes, users may receive similar error:

 

[root@Linux tmp]# cat /etc/yum.repos.d/CarbonBlack.repo | grep asc
gpgkey=file:///tmp/cb.asc
file:///tmp/public.asc
[root@Linux tmp]# yum install --downloadonly --downloaddir=/tmp cb-linux-sensor-installer-7.4.0.24479-1.noarch
Warning: failed loading '/etc/yum.repos.d/CarbonBlack.repo', skipping.
CbOpenSource                                                                                                                                                                                                                 35 kB/s | 3.0 kB     00:00    
CbOpenSource2                                                                                                                                                                                                                94 kB/s | 3.0 kB     00:00    
No match for argument: cb-linux-sensor-installer-7.4.0.24479-1.noarch
Error: Unable to find a match: cb-linux-sensor-installer-7.4.0.24479-1.noarch

Cause

The script generate_cbsensor_repo.sh used to generate CarbonBlack.repo file writes the gpgkey value in a format that causes Yum to skip the CarbonBlack.repo resulting in it not finding the installation package.

The current dysfunctional format is:

gpgkey=file:///Path/To/cb.asc
file:///Path/To/public.asc

 

Resolution

Modify the gpgkey value inside CarbonBlack.repo to the following:

gpgkey=file:///Path/To/cb.asc
     file:///Path/To/public.asc

OR

gpgkey=file:///Path/To/cb.asc file:///Path/To/public.asc

Please make sure to modify the path of gpgkey files in above example from "Path/To/" to the actual path where cb.asc, and public.asc files are located.

Then follow the rest of steps in the Linux Sensor 7.4.0 Release Notes