StackStorm / st2-packages

StackStorm deb/rpm packages (automated docker build pipeline)
https://stackstorm.com/
27 stars 59 forks source link

Install net-tools automatically on deb-distributions #733

Closed winem closed 8 months ago

winem commented 8 months ago

We already install net-tools on CentOS and Rocky Linux. Now, we also do it for installations using the deb-installer. The package manager will detect on it's own if it's actually needed to install or update the net-tools or if the latest version is already installed and it does not have to do anything else.

This also addresses an error when running the installer without having netstat available on Ubuntu 20.04 for example:

20231212T161937+0000 ################################################################
20231212T161937+0000 ### Installing from staging repos!!! USE AT YOUR OWN RISK!!! ###
20231212T161937+0000 ################################################################
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 sudo: netstat: command not found
20231212T161937+0000 Hit:1 http://mirrors.digitalocean.com/ubuntu focal InRelease
20231212T161937+0000 Hit:2 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease