1

This particular instance is a Bitnami SVN/Trac server, with Tomcat 8 added to it, and running independently of the Apache server that came with SVN and Trac.

I tried what was given in this thread, and it didn't work. Even after doing the recommended

sudo apt-get install dirmngr       
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
sudo apt-get update
sudo apt-get install openjdk-8-jdk -y --allow-unauthenticated

I still get

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openjdk-8-jdk : Depends: openjdk-8-jre (= 8u171-b11-1~bpo8+1) but it is not going to be installed
                 Depends: openjdk-8-jdk-headless (= 8u171-b11-1~bpo8+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

which is what I was getting before.

1 Answers1

0

Just got this from the Debian list:

apt-get install -t jessie-backports openjdk-8-jdk

It worked. I now have Java 8 on the box.

The Debian list poster also questioned the need for dirmngr and so forth, and advised that the --allow-unauthenticated should be avoided.

See the Debian List archives for the details.