Wazuh is updating to 4.9 automatically and crashing

213 views
Skip to first unread message

Henrique Avelino

unread,
Sep 10, 2024, 8:38:54 AM9/10/24
to Wazuh | Mailing List
Hi everyone,

My Wazuh Server is updating to 4.9 automatically and It's crashing.

For the second time I'm going to validate my wazuh and it's crashed.

How do I disable automatic updates?

Thanks.

Jeremiah Kolawole

unread,
Sep 10, 2024, 9:00:19 AM9/10/24
to Wazuh | Mailing List
Hello Henrique,

To disable automatic updates, you need to edit the wazuh repo value in your repo files.

You can do that manually by browsing to the repo list here -  /etc/yum.repos.d/wazuh.repo 

or run this command from your terminal to change the enabled value from 1 to 0 effectively disabling it - sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/wazuh.repo

I hope this helps

Henrique Avelino

unread,
Sep 10, 2024, 10:00:43 AM9/10/24
to Wazuh | Mailing List
Jeremiah,

How Can I do it for Ubuntu?

Thanks
Henrique Avelino

Jeremiah Kolawole

unread,
Sep 10, 2024, 10:38:07 AM9/10/24
to Wazuh | Mailing List
Hello Henrique,

Since Ubuntu uses APT and stores repository lists in /etc/apt/sources.list and /etc/apt/sources.list.d/, you can disable it by either deleting the file: sudo rm  /etc/apt/sources.list.d/*wazuh*  Or, comment out the repository line in the file by adding # at the beginning of the line.

Update the package list after making changes: sudo apt update

This will disable the Wazuh repository in your Ubuntu system.

Please let me know if this helps
Reply all
Reply to author
Forward
0 new messages