When uninstalling Symantec Endpoint Protection agent from Linux systems users may encounter the following error message:
Stopping Agent..
Uninstalling Symantec Agent for Linux
Symantec Endpoint Protection (Cloud) ...
Removing package sdcss-caf sdcss sdcss-kmod sdcss-scripts
error 1:Agent uninstall failed.
Red Hat Enterprise Linux (RHEL) 7
sdcss_uninstall.log
reveals a specific error: File "/bin/yum", line 30
except KeyboardInterrupt, e:
^
SyntaxError: invalid syntax
This error suggests a problem with the Python distribution on the system. The Python interpreter encounters a syntax error due to an unsupported syntax usage, likely caused by compatibility issues with the current Python distribution.
Uninstalling the Symantec Endpoint Protection Linux Agent or the Symantec Single Agent for Linux:
https://techdocs.broadcom.com/us/en/symantec-security-software/endpoint-security-and-management/endpoint-protection/all/symantec-single-agent-for-linux-guide/uninstalling-the-client-for-linux-v95329300-d21e2314.html