After migrating to a newer version of DLP, the removal of the previous versions maybe necessary due to vulnerability scans or company policies
RHEL 8/9
DLP
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*
there are a few things to consider when removing or cleaning up older versions.
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*