wazuh

conflicting packages - not installing wazuh-agent


I want to add an agent in wazuh, but I'm having problems.

dpkg: regarding ./wazuh-agent-4.3.6.deb containing wazuh-agent:
 wazuh-agent conflicts with wazuh-manager
  wazuh-manager (version 4.3.6-1) is present and installed.

dpkg: error processing archive ./wazuh-agent-4.3.6.deb (--install):
 conflicting packages - not installing wazuh-agent
Errors were encountered while processing:
 ./wazuh-agent-4.3.6.deb

Solution

  • Based on the error attached, you are trying to install Wazuh Agent in a debian based machine where Wazuh Manager is already installed, this is not possible. You cannot have both Wazuh Agent and Wazuh Server installed in the same system.

    To confirm this, what do you get in the machine when running the command systemctl status wazuh-manager?

    -If you get the following message or a similar one then you have wazuh-manager installed

    wazuh-manager.service - Wazuh manager
     Loaded: loaded (/lib/systemd/system/wazuh-manager.service;
    ...
    

    -If you get "Unit wazuh-manager.service could not be found." then it is not installed.