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.

Error in PREUN scriptlet in rpm package sdcss-kmod when uninstalling Endpoint Protection Linux

book

Article ID: 241552

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

Error in PREUN scriptlet in rpm package sdcss-kmod when uninstalling Symantec Endpoint Protection (SEP) Linux

Example error :

Aborting uninstall as Agent does not seem to be installed correctly.
File "/usr/lib/symantec/sdcssagent/lib/instfunlib-kmod" or "/etc/symantec/sis/rc.functions" is inaccessible, or is missing.
If protection is enabled, it must be disabled before uninstalling.
Otherwise, a manual uninstall must be performed to remove this software.
Refer to product documentation to perform a Manual Uninstall.
error: %preun(sdcss-kmod-10.0.2-1181.el7.x86_64) scriptlet failed, exit status 1
Error in PREUN scriptlet in rpm package sdcss-kmod
error: sdcss-kmod-10.0.2-1181.el7.x86_64: erase failed

Environment

SEP 14.x

Resolution

Manually remove the rpm packages which are not uninstalled correctly

Delete below folders:

rm -rf /opt/Symantec/sdcssagent/

rm -rf /opt/Symantec/cafagent/

rm -rf /etc/sisips

rm -rf /etc/caf/

rm -rf /etc/symantec/sis/

rm -rf /var/log/sdcsslog/

rm -rf /var/log/sdcss-caflog/

rm -rf /var/symantec/

rm -f /etc/yum.repos.d/sdcss.repo

 

Once all are deleted, then run below command to clean up entry from rpm DB

rpm -e --justdb sdcss

rpm -e --justdb sdcss-kmod

 

Verify that packages are removed

rpm -qa | grep sdcss