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 reported for older JRE versions - Linux

book

Article ID: 223556

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

After upgrading from a previous DLP version, some dependencies are reported when trying to remove the older JRE.

For example, when upgrading from 15.7 to 15.8 (installed openjre 282) then attempting to remove the 15.7 RPMs the following message was reported:

$ rpm -e symantec-dlp-server-jre-1-8-0-202-1.8.0.202-18016.x86_64
error: Failed dependencies:
        libjvm.so()(64bit) is needed by (installed) symantec-dlp-15-8-00000-detection-server-15.8.00100-01075.x86_64
        libjvm.so(SUNWprivate_1.1)(64bit) is needed by (installed) symantec-dlp-15-8-00000-detection-server-15.8.00100-01075.x86_64

The /opt/adoptopenjre path in the migration was specified and DLP looks to be using that instance of java.

You may be wondering if you can force remove (rpm -e --nodeps) the symantec-dlp-server-jre-1-8-0-202-1.8.0.202-18016.x86_64 installation.

Environment

Release : (example provided is 15.5, but this generally applies to any third-party software package.)

Component :

Resolution

It is recommended to always verify any dependencies before force removal of older versions. Some libraries may not be replicated but software may still require them as well.

In the example, the DLP Product requires the .so in question and has dependencies on previous versions.

Do not remove when dependencies are reported.

Additional Information

HOW TO check product dependencies:

# rpm -q --whatrequires <software name>

Where you replace <software name> with the Symantec Software package name