ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Failed dependencies when installing Data Loss Prevention (DLP) Servers on Red Hat Enterprise Linux (RHEL)

book

Article ID: 212890

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

Running the install.sh script returns "error: Failed dependencies:"

 

Cause

The RPM packages require dependencies that are missing from the server. 

Environment

Release : 6.x, 7.x, 8.x

Component : RHEL

Resolution

METHOD 1:

Use yum to automatically find and install the missing dependencies. Run the following command from directory where the RPM files were extracted:

for i in `ls *.rpm`; do yum deplist ./$i | sort -u | xargs yum -y install; done;

You can proceed with the install by running either one of the following:

 ./install.sh

or

yum localinstall *.rpm 

METHOD 2:

Download the rpms dependencies locally and install from disk.

  1. extract the dlp rpms
  2. mkdir -p /path/to/dlp/rpms/download
  3. yum install --downloadonly --downloaddir=/path/to/dlp/rpms/download *.rpm
  4. You should see the following message:
  5. cd /path/to/dlp/rpms/download
  6. yum localinstall *.rpm

NOTE: change /path/to/dlp/rpms to where you extracted the DLP rpms. 

Additional Information

The for loop uses a backtick and not an apostrophe. 

NOTE: method 2 works for redhat8.x, method1 works for RHEL 6.x. Rhel 7.x could use method 1 or 2. 

Attachments