EDR: Cbupgrade Aborted Due to Missing Postrgresql10
search cancel

EDR: Cbupgrade Aborted Due to Missing Postrgresql10

book

Article ID: 285648

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

After upgrading to EDR 7.6.0, the cbupgrade tool fails with the error "The cb-enterprise postgresql10 dependencies are required for this upgrade."

User-added image

Environment

  • EDR Server: 7.6.0

Cause

The 'yum update cb-enterprise' installed postgresql13 properly, but removed postgresql10.
 

Resolution

Perform the following steps on the Primary EDR server. These steps are not needed on minions in clustered environments. 

1) Modify /etc/yum.repo.d/CarbonBlack.repo based on the EDR version you upgraded from in the table in Additional Notes.  Comment out the stable line and add the baseurl like below:
#baseurl=https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch
baseurl=https://yum.distro.carbonblack.io/enterprise/7.5.2-1/$releasever/$basearch
2) Run yum:
yum clean all
yum install postgresql10 postgresql10-libs postgresql10-server
3) Run cbupgrade:
/usr/share/cb/cbupgrade
4) Once cbupgrade completes successfully, remove the added baseurl and uncomment the stable line in /etc/yum.repo.d/CarbonBlack.repo.
baseurl=https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch
5) Also after cbupgrade completes successfully,  remove postgres10 packages.
yum remove postgresql10 postgresql10-libs postgresql10-server

Additional Information

 
EDR VersionPostgres VersionBaseurl
6.5.2 - 6.5.3postgresql10-10.5-1baseurl=https://yum.distro.carbonblack.io/enterprise/6.5.3-1/$releasever/$basearch
7.0.1 - 7.1.1postgresql10-10.11-1baseurl=https://yum.distro.carbonblack.io/enterprise/7.1.1-1/$releasever/$basearch
7.2.0 - 7.3.0postgresql10-10.12-1baseurl=https://yum.distro.carbonblack.io/enterprise/7.3.0-1/$releasever/$basearch
7.4.0 - 7.4.2postgresql10-10.15-1baseurl=https://yum.distro.carbonblack.io/enterprise/7.4.2-1/$releasever/$basearch
7.5.0postgresql10-10.16-1baseurl=https://yum.distro.carbonblack.io/enterprise/7.5.0-1/$releasever/$basearch
7.5.1 - 7.5.2postgresql10-10.17-1baseurl=https://yum.distro.carbonblack.io/enterprise/7.5.2-1/$releasever/$basearch