The issue only happens after an initial upgrade of Deep Security Agent (DSA) on Solaris 11.0. Agent uninstallation might fail and any incremental upgrade afterwards might fail as well.
It happens because the IPS package manager is still referencing the previous agent version.
Before proceeding to the solutions below, make sure the Solaris version is 11.0.
# uname -a
SunOS unixTestingDSA.dslab.local 5.11 11.0 sun4v sparc sun4v
Uninstall Issue
If the Deep Security Agent was previously upgraded, then uninstallation might fail with the following or related reasons:
# pkg uninstall ds-agent
Creating Plan \pkg: Unknown publisher 'trendmicro'.
# pkg uninstall ds-agent
Creating Plan \
Errors were encountered while attempting to retrieve package or file data for
the requested operation.
Details follow:
file protocol error: code: 37
URL: 'file:///var/opt/ds_agent/ips_repo/publisher/trendmicro/pkg/security%252Fds-agent/12.0.0.280%252C5.11%253A20190426T232240Z'.
(happened four times)
If either of these errors occurs, remove the IPS package manager cache and try to uninstall the agent again.
# rm -rf /var/pkg/cache
# pkg uninstall ds-agent
# pkg unset-publisher trendmicro
Upgrade Issue
If the Deep Security Agent upgrade procedure fails, do the following:
- Remove the IPS package manager cache.
# rm –rf /var/pkg/cache
- Upgrade the agent again.