Why installing openjdk-7-jdk on Ubuntu Trusty installs systemd as well?
Yuri Kanivetsky
yuri.kanivetsky at gmail.com
Fri Dec 30 12:24:32 UTC 2016
Hi,
I tried both apt and aptitude. But I can't see systemd in the output
of neither debtree (debtree openjdk-7-jdk), nor apt-rdepends
(apt-rdepends openjdk-7-jdk). Am I to add any switches to the
commands?
The bigger picture is that I'm provisioning a server with ansible. I
need it to install elasticsearch, which depends on java. Which brings
systemd with itself. After which ansible fails to enable
elasticsearch. Since it sees systemctl and tries to enable
eslasticsearch with systemctl. But elasticsearch doesn't come with
systemd unit file. It comes with init script.
Does openjdk-7-jdk really depends on systemd? Is there a way to avoid
installing systemd?
Regards,
Yuri
More information about the ubuntu-users
mailing list