title: Trouble in installing Openjdk-8 in Debian Jessie
body: <p>I am trying to install jdk-8 in debian jessie docker containier. Below is the docker file</p>
  
  <pre><code>FROM debian:jessie
  ENV DEBIAN_FRONTEND noninteractive
  
  RUN \
    echo deb http://http.debian.net/debian jessie-backports main &gt;&gt; /etc/apt/sources.list &amp;&amp;\
  apt-get update &amp;&amp; apt-get install openjdk-8-jdk &amp;&amp;\
  update-alternatives --config java
  </code></pre>
  
  <p>I am getting the below error</p>
  
  <pre><code> The following packages have unmet dependencies:openjdk-8-jdk : Depends: openjdk-8-jre (= 8u131-b11-1~bpo8+1) but it is not going to be installed.Depends: openjdk-8-jdk-headless (= 8u131-b11-1~bpo8+1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.The command '/bin/sh -c echo deb http://http.debian.net/debian jessie-backports main &gt;&gt; /etc/apt/sources.list &amp;&amp;  apt-get update &amp;&amp; apt-get install openjdk-8-jdk &amp;&amp;  update-alternatives --config java' returned a non-zero code: 100
  </code></pre>
  
  <p>Please let me know how to solve this issue. </p>