It looks like openjdk-8-jre was updated in jessie-backports but 
openjdk-8-jdk-headless wasn't updated in the same repository (by the Debian 
maintainers). Two things you can try are:

1) Use the version from the 'stable' distribution in your Dockerfile:
apt-get -y -q --no-install-recommends install -t stable openjdk-8-jdk && \


2) Manually install the needed dependency before openjdk-8-jdk:
apt-get -y -q --no-install-recommends install openjdk-8-jdk-headless=8u121-
b13-1~bpo8+1 && \

The second step would only work if that version existed in a repository, 
and you had that repo in your /etc/apt/sources.list (eg. 'testing' or 
'unstable'), so further messing about with that may be necessary.

On Friday, February 3, 2017 at 11:54:05 AM UTC-5, Vinay Chitlangia wrote:
>
> I am facing some problem when trying to install openjdk-8 in the flex 
> environment.
>
> Our setup is to use jetty9-compat runtime with openjdk-8 (We install jdk 
> to do dynamic compilation). The setup was working fine till about 2-3 days 
> back.
>
> Now when I try to install I get the following error:
>
>
> The following packages have unmet dependencies:
>
>  openjdk-8-jdk : Depends: openjdk-8-jre (= 8u121-b13-1~bpo8+1) but 
> 8u111-b14-2~bpo8+1 is to be installed
>
>                  Depends: openjdk-8-jdk-headless (= 8u121-b13-1~bpo8+1) 
> but it is not going to be installed
>
>
>
> Our dockerfile is:
>
> FROM gcr.io/google_appengine/jetty9-compat
>
> RUN apt-get -q update && \
>
>     apt-get -y -q --no-install-recommends install openjdk-8-jdk && \
>
>     apt-get clean && \
>
>     rm /var/lib/apt/lists/*_*
>
> ADD . /app
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e8606c47-fadc-406e-9bd2-ca76156c6d7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to