Bug #422
openBUG: tsys-siem apt-get update failing on wazuh package repo
25%
Description
apt-get update on tsys-siem is complaining about a wazuh package repository. Need to diagnose and fix the repo configuration so updates work cleanly. Wazuh needs to be fully operational after LibreNMS work completes.
Updated by Charles N about 18 hours ago
- % Done changed from 0 to 25
[#422] DIAGNOSIS COMPLETE — Wazuh installation is severely broken, NOT just a repo config issue.
Findings¶
apt-get update runs CLEAN (no wazuh repo configured, so no repo error). The real problem is that all three Wazuh packages have critically corrupted installations:
dpkg -V results (all three packages):¶
- wazuh-indexer: ALL files missing — no /usr/share/wazuh-indexer/bin/, no /etc/wazuh-indexer/, no /var/lib/wazuh-indexer/. Binary systemd-entrypoint doesn't exist (systemd error 203/EXEC). Service has been FAILING since Jul 27 (5 boots).
- wazuh-manager: ALL files missing — no /var/ossec/, no /etc/init.d/wazuh-manager. Service is DISABLED.
- wazuh-dashboard: Status install reinstreq half-installed. Missing md5sums + list control files.
Additional issues:¶
- Java/OpenJDK not installed (required by wazuh-indexer)
- No Wazuh apt repo configured at all (packages.wazuh.com absent from sources)
- No config files exist anywhere (/etc/wazuh-indexer/opensearch.yml missing)
- No data directories exist (/var/lib/wazuh-indexer/, /var/ossec/ both absent)
- Disk space OK (116GB free)
Assessment:¶
This is an aborted or corrupted installation. dpkg metadata shows packages as 'installed' but actual files were never extracted or were deleted. A simple repo fix will not resolve this — the packages need full purge + reinstall.
Proposed fix (SUB-TICKET recommended):¶
- Add official Wazuh 4.x apt repository + GPG key
- apt purge wazuh-manager wazuh-indexer wazuh-dashboard (clean slate)
- apt install wazuh-manager wazuh-indexer wazuh-dashboard (fresh from repo)
- Configure indexer (certificates, cluster settings)
- Enable + start all services
- Verify operational (indexer health, manager status, dashboard UI)
This goes well beyond 'fix repo config' — recommending a sub-ticket for the full Wazuh rebuild. The repo config alone is straightforward, but making Wazuh operational requires a full deployment cycle.
Updated by Charles N about 3 hours ago
- Due date set to 08/14/2026
- Start date changed from 08/11/2026 to 08/14/2026