How to remove previous version of DLP on RHEL servers
search cancel

How to remove previous version of DLP on RHEL servers

book

Article ID: 444124

calendar_today

Updated On:

Products

Data Loss Prevention Core Package

Issue/Introduction

After migrating to a newer version of DLP, the removal of the previous versions maybe necessary due to vulnerability scans or company policies 

Environment

RHEL 8/9

DLP 

Cause

yum repoquery --installed --whatrequires symantec-dlp-25*

previous versions of DLP exist on the disk after migration to a newer version 

yum repoquery --installed --whatrequires symantec-dlp-25*

Resolution

there are a few things to consider when removing or cleaning up older versions.

  1. Are there any dependency packages that the new version will require after uninstalling the older version
  2. will uninstalling the previous version break dependencies of the new versions (DLP rpms specifically)

In the example scenerio 25.1 was migrated from 16.x. 

To check for dependencies on 16.x run the following:

yum repoquery --installed --whatrequires symantec-dlp-16-0*

To check the dependencies on your new versions (25.1)

yum repoquery --installed --whatrequires symantec-dlp-25*

Now you can simulate an uninstall of a package to verify the uninstall will not break currently running DLP. 

yum remove symantec-dlp-16-0* --assumeno 

After running the simulation of the uninstall and no depedency conficts occur run the full uninstall of the previous version

yum remove symantec-dlp-16-0*