Unable to locate package wazuh-agent

2,192 views
Skip to first unread message

Dai Nguyen

unread,
Jan 20, 2023, 8:47:00 AM1/20/23
to Wazuh mailing list
Hi,
I try to deploy wazuh-agent but I got this error.  
- Command: WAZUH_MANAGER="192.168.1.50" apt-get install wazuh-agent
- Result: 
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package wazuh-agent
Please help me! Thanks!!

Bin Do Tuan Anh

unread,
Jan 20, 2023, 9:05:10 AM1/20/23
to Wazuh mailing list
Hi,  

You will need to add Wazuh repository first. To do that please follow these steps:
  1. curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg
  2. echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list
  3. apt-get update
And for Debian 7, 8, and Ubuntu 14 systems import the GCP key and add the Wazuh repository (steps 1 and 2) using the following commands.
apt-get install gnupg apt-transport-https 
echo "deb https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list

Here are the steps in the documentation (right above Deploy a Wazuh agent section): 

Best regards,
Bin. 

Allen Shau

unread,
May 12, 2023, 2:54:04 AM5/12/23
to Wazuh mailing list
Hi,

If I need to exactly install the 4.0.3 agent, how should I do?

Allen

Bin Do Tuan Anh 在 2023年1月20日 星期五晚上10:05:10 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages