Why installing openjdk-7-jdk on Ubuntu Trusty installs systemd as well?

Colin Law clanlaw at gmail.com
Fri Dec 30 17:15:40 UTC 2016


On 30 December 2016 at 16:58, Yuri Kanivetsky <yuri.kanivetsky at gmail.com> wrote:
>> What does
>> apt-cache policy openjdk-7-jdk
>> give?
>
> # apt-cache policy openjdk-7-jdk
> openjdk-7-jdk:
>   Installed: (none)
>   Candidate: 7u121-2.6.8-1ubuntu0.14.04.1
>   Version table:
>      7u121-2.6.8-1ubuntu0.14.04.1 0
>         500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
>         500 http://security.ubuntu.com/ubuntu/ trusty-security/main
> amd64 Packages
>      7u51-2.4.6-1ubuntu4 0
>         500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Run
sudo apt install -s openjdk-7-jdk
which will simulate the install, but not actually do anything.
Copy/paste the result here please.

Colin




More information about the ubuntu-users mailing list