Security-Onion-Solutions / security-onion

Security Onion 16.04 - Linux distro for threat hunting, enterprise security monitoring, and log management
https://securityonion.net
3.06k stars 521 forks source link

securityonion-bro-scripts: improve postinst to avoid errors when reinstalling #1711

Closed dougburks closed 4 years ago

dougburks commented 4 years ago

The postinst script was producing errors when reinstalling via:

sudo apt install --reinstall securityonion-bro-scripts
dougburks commented 4 years ago

https://github.com/Security-Onion-Solutions/securityonion-bro-scripts/commit/ee8fbc0f23857018ccdcdcb410299c6936f8480e

dougburks commented 4 years ago

To test this, install the new package, verify no errors, then reinstall the package via:

sudo apt install --reinstall securityonion-bro-scripts

It should reinstall cleanly with no errors.

weslambert commented 4 years ago

No errors when re-installing. 👍

dougburks commented 4 years ago

Published: https://blog.securityonion.net/2020/02/zeek-301-elastic-686-and-cyberchef-9120.html