Symptoms
-
On Debian-based Linux server, an attempt to update Plesk Obsidian to a newer release fails with an error that is similar to the following:
PLESK_ERROR: Setting up wazuh-agent (4.6.0-1) ...
dpkg: error processing package wazuh-agent (--configure):
installed wazuh-agent package post-installation script subprocess returned error exit status 7
Errors were encountered while processing:
wazuh-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)
Launching component and product checkers...
Cause
The wazuh-agent package got corrupted. This usually happens when the Plesk update process itself gets interrupted.
Resolution
The wazuh-agent package needs to be purged and reinstalled, which can be achieved by following these steps:
1. Connect to the server via SSH
2. Remove the wazuh-agent package:
# dpkg --purge --force-all wazuh-agent
Comments
Please sign in to leave a comment.