Does anyone know why there are so many dependencies for the ‘broctl’ Debian package (mysql as an example)?
-Dave
Does anyone know why there are so many dependencies for the ‘broctl’ Debian package (mysql as an example)?
-Dave
Hi,
Does anyone know why there are so many dependencies for the ‘broctl’
Debian package (mysql as an example)?
this is caused by recursive dependencies of the software that broctl
depends on. Specifically, broctl has a dependency on a mail server; if
none is installed on debian, the default is exim, which has a dependency
on some mysql/mariadb libraries.
The direct dependency list of broctl is quite short: bro, capstats,
trace-summary, a mail transport agent, python, and python-broccoli.
due to recursive dependencies this gets quite blown up - for a full
dependency graph on debian, see
https://icir.org/johanna/tmp/broctl-dependencies.pdf
Johanna
You can workaround this using some options to apt. You can use
apt install broctl mysql-common-
to install broctl but not pull in the mysql libs. This gets the package install from 76 packages and 94MB to 48 packages and 65MB.
Using
apt install --no-install-recommends broctl
gets it down to 37 packages and 48MB, but that probably leaves out some things that you'd want like the geoip stuff.