0

We want to install a package, here cacti, without pulling some dependencies, here the MySQL Server.

It is possible to do it using, apt, apt-get (or aptitude) ?

We already have a remote MySQL server and we don't want to install a new server locally that would not be used, nor running.

Maybe some solutions would exist with dpkg ?

Goal is to keep the update path of apt (apt update) to keep cacti up-to-date.

Best Regards.

1 Answers1

2

In fact, looking at package details located at https://packages.ubuntu.com/eoan/cacti, the database is an recommended dependency.

So installing with flag --no-install-recommends will avoid the MySQL Server being pulled as dependency like

apt install cacti cacti-spine --no-install-recommends