Comments (7)
The documentation should be updated to reflect the fact that Debian packages are untested. There is no mention that apt-get packages are not tested or that it is broken at: https://documentation.wazuh.com/current/installation-guide/installing-wazuh-agent/wazuh_agent_deb.html
Hopefully, this comment will save others from wasting time trying to install untested packages using apt-get until #32 and this defect are resolved.
from wazuh-packages.
Hi @alphaDev23,
Thanks for the feedback, it's really welcome.
We are working on fixing the package for the scenario you reported.
Clean and upgrade installations work properly, I and the team just test the documentation guide and works fine.
I can confirm as well the package installation is not working in the scenario you describe, if apt/package manager fails in the middle of the installation, the package can't be installed right away again, you need to purge/remove previous files manually and perform a clean installation to make it work.
We are working on fixing this as I write this issue, my colleague @BraulioV will attach here a 3.5 package version so you can use it in your environment.
The fix will be included in the next Wazuh release.
In the meantime, if you want to perform a clean installation, you can run (be aware, the command below will erase client.keys and ossec.conf files):
rm -rf /var/ossec && dpkg --purge wazuh-agent && dpkg -i wazuh-agent_3.5.0-1_amd64.deb
I hope it helps, best regards,
Pedro.
from wazuh-packages.
There may be several other apt-get commands that need to be tested which are commonly expected to work without issue, e.g. apt-get install -f (which did not fix the wazuh-agent broken install).
When functionality, especially common functionality, goes untested it not only wastes my time but also potentially many others. Within half a day of using Wazuh, I entered 4 unique issues (this count does not include #33 which was closed). Each of these issues takes time to determine if the issue is with Wazuh, with dependencies, missed instruction detail, setting, etc. and then to actually write up the issue and communicate back and forth regarding it.
As a note, I was able to install via a package download directly although MD5 checksums are provided to verify packages which are susceptible to hashing collisions (see #34).
from wazuh-packages.
Hi @alphaDev23,
see attached the wazuh-agent .deb package with this issue solved. This issue has been solved in this commit: 27ee216, please feel free to send us more feedback.
Regards,
Braulio.
wazuh-agent_3.5.0-2_amd64.deb.zip
PS: you will need to extract the .deb from the .zip file. GitHub doesn't allow to attach .deb files.
from wazuh-packages.
I appreciate the quick turnaround for responses; however, the issue was not the deb package itself. That installed without issue even with the broken install. The issue was the package in Ubuntu's 14.04 and 16.04 (possibly 18.04 but I did not attempt) repositories (accessible via apt-get).
from wazuh-packages.
Hi @alphaDev23 ,
the packages of the repository will fail only if the /tmp/wazuh-*****
exists but in normal cases, they will work. By the way, we will release a new version of Wazuh very soon so this problem will be fixed with the new packages.
Regards,
Braulio.
from wazuh-packages.
Thank you for fixing the issue. Ensuring that the package management installs work as expected, and to recover from issues using the standard tools, is important especially given that the Wazuh agent is installed on numerous machines.
from wazuh-packages.
Related Issues (20)
- Installation assistant - `lsof` package must be removed if the HW check fails HOT 1
- Installation assistant fails to remove wazuh component upon lack of space error
- Give cert tool execution permissions when built.
- Support new Wazuh version 4.7.4 in wazuh-packages repository
- Support new stage Beta 6 for 4.8.0 in wazuh-packages repository
- Support new stage RC 1 for 4.7.4 in wazuh-packages repository
- Wazuh macOS agent uninstall.sh script needs to be updated HOT 1
- Support new stage RC 2 for 4.7.4 in wazuh-packages repository
- Generate final tag and publish draft release for Wazuh 4.7.4
- Post release tasks for 4.7.4
- Support Ubuntu 24.04 in wazuh-install.sh HOT 1
- Bug in ossec.conf Reconstruction During Wazuh RPM Upgrade
- Wazuh packages redesign tier 2 - DevOps migration
- Support new stage RC 1 for 4.8.0 in wazuh-packages repository
- Error on health-check: No template found for the selected index-pattern title [wazuh-alerts-*] HOT 1
- Different set of permission for plugins in Release 4.8.0 HOT 3
- Support new stage RC 2 for 4.8.0 in wazuh-packages repository
- Support new Wazuh version 4.7.5 in wazuh-packages repository
- Wazuh installation assistant typo
- Fix `Test_unattended` and `Test_unattended_distributed` pytests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wazuh-packages.