Uninstall_agent for DLP macOS agent throws libc++abi: terminating due to uncaught exception of type vontu_util::RuntimeException error
search cancel

Uninstall_agent for DLP macOS agent throws libc++abi: terminating due to uncaught exception of type vontu_util::RuntimeException error

book

Article ID: 373633

calendar_today

Updated On:

Products

Data Loss Prevention Core Package Data Loss Prevention Endpoint Prevent

Issue/Introduction

When executing the uninstall_agent, the executable throws the below error:

libc++abi: terminating due to uncaught exception of type vontu_util::RuntimeException

Environment

16.0

Cause

Before the DLP agent was installed, the PKG file from the unpacked AgentInstaller_Mac64.zip was renamed. Adding additional characters after the version number (e.g. AgentInstall_16.0.10100.60204.F.pkg) breaks PackageVersion key's value in com.symantec.dlp.edpa.plist hence the uninstall_agent package cannot uninstall the existing DLP agent.

Resolution

Check PackageVersion key's value in the com.symantec.dlp.edpa.plist which is located in /var/db/receipts. If the value contains additional characters after the version number, e.g. <string>16.0.10100.60204.F</string>, this has to be removed.

Additional Information

The com.symantec.dlp.edpa.plist file is an XML binary file. You may want to use Notepad++ with additional plugin NppBplistPlugin to be able to edit it correctly