[ https://issues.apache.org/jira/browse/PHOENIX-6618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467882#comment-17467882 ]
Istvan Toth commented on PHOENIX-6618: -------------------------------------- I was wrong, we do add JDK 11 in the 4.x image, even though we do not actually use it. Committed the fix to 4.x and 4.16 as well. > Yetus docker image cannot be built as openjdk 11.0.11 is no longer available > ---------------------------------------------------------------------------- > > Key: PHOENIX-6618 > URL: https://issues.apache.org/jira/browse/PHOENIX-6618 > Project: Phoenix > Issue Type: Bug > Reporter: Istvan Toth > Assignee: Istvan Toth > Priority: Major > Labels: test > Fix For: 5.2.0, 5.1.3 > > > Yetus fails with > {noformat} > 09:31:52 #8 8.026 E: Version '11.0.11+9-0ubuntu2~20.04' for > 'openjdk-11-jdk-headless' was not found > 09:31:52 #8 8.026 E: Version '11.0.11+9-0ubuntu2~20.04' for > 'openjdk-11-jre-headless' was not found > 09:31:52 #8 8.026 E: Version '11.0.11+9-0ubuntu2~20.04' for 'openjdk-11-jre' > was not found > 09:31:55 #8 ERROR: executor failed running [/bin/bash -o pipefail -c apt-get > update && apt-get -q install --no-install-recommends -y > openjdk-11-jdk-headless=11.0.11+9-0ubuntu2~20.04 > openjdk-11-jre-headless=11.0.11+9-0ubuntu2~20.04 > openjdk-11-jre=11.0.11+9-0ubuntu2~20.04]: exit code: 100 > 09:31:55 ------ > 09:31:55 > [5/5] RUN apt-get update && apt-get -q install > --no-install-recommends -y openjdk-11-jdk-headless=11.0.11+9-0ubuntu2~20.04 > openjdk-11-jre-headless=11.0.11+9-0ubuntu2~20.04 > openjdk-11-jre=11.0.11+9-0ubuntu2~20.04: > 09:31:55 ------ > 09:31:55 executor failed running [/bin/bash -o pipefail -c apt-get update > && apt-get -q install --no-install-recommends -y > openjdk-11-jdk-headless=11.0.11+9-0ubuntu2~20.04 > openjdk-11-jre-headless=11.0.11+9-0ubuntu2~20.04 > openjdk-11-jre=11.0.11+9-0ubuntu2~20.04]: exit code: 100 > 09:31:55 ERROR: Docker failed to build yetus/phoenix:1a13c055a. > {noformat} > It looks like ubuntu removes older updates when they are superceded. -- This message was sent by Atlassian Jira (v8.20.1#820001)