Why installing openjdk-7-jdk on Ubuntu Trusty installs systemd as well?
Colin Law
clanlaw at gmail.com
Wed Jan 4 08:46:58 UTC 2017
On 3 January 2017 at 22:17, Liam Proven <lproven at gmail.com> wrote:
> On 30 December 2016 at 13:24, Yuri Kanivetsky <yuri.kanivetsky at gmail.com> wrote:
>>
>> 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?
>
>
> You don't specify what version of Ubuntu but 16.04 and later already
> include systemd as standard.
Actually he does, it is in the subject line (Trusty, 14.04). It
should have been repeated inside the message to avoid confusion.
Colin
More information about the ubuntu-users
mailing list