Problem
The Admin guide recommends uninstalling the Java files installed by NetBackup using the native package commands such as the following:
rpm –e VRTSnbjava-8.1.2.0-1535425027.x86_64
rpm –e VRTSnbjre-8.1.2.0-1535425006.x86_64
However, it is observed that only VRTSnbjava is removed and VRTSnbjre cannot be uninstalled due to a dependency on VRTSnbcfg.
Error Message
error: Failed dependencies: VRTSnbjre >= 8.1.2.0 is needed by (installed) VRTSnbcfg-8.1.2.0-1535425005.x86_64
Cause
Earlier versions of NetBackup had a software dependency between VRTSnbjre and VRTSnbcfg. This dependency was changed in recent versions.
Solution
Do not remove the related package as VRTSnbcfg contains configuration files such as auth.conf, nbj.conf and bp.conf.
Instead, remove the VRTSnbjre package using the "--nodeps" option:
rpm -e VRTSnbjre.rpm --nodeps