cdklabs/aws-delivlib

E: Version '8u171-b11-2~14.04' for 'openjdk-8-jdk' was not found

CyrusNajmabadi opened this issue · 0 comments

I'm trying to follow the contributing instructions from jsii here: https://github.com/awslabs/jsii/blob/master/CONTRIBUTING.md

They say to do this:

$ git clone git@github.com:awslabs/aws-delivlib.git
$ cd aws-delivlib/superchain
$ docker build -t superchain .

Running that eventually leads to this:

Fetched 44.7 kB in 0s (82.7 kB/s)
Selecting previously unselected package python-wheel.
(Reading database ... 32556 files and directories currently installed.)
Preparing to unpack .../python-wheel_0.24.0-1~ubuntu1.1_all.deb ...
Unpacking python-wheel (0.24.0-1~ubuntu1.1) ...
Setting up python-wheel (0.24.0-1~ubuntu1.1) ...
+ apt-get install -y openjdk-8-jdk=8u171-b11-2~14.04
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '8u171-b11-2~14.04' for 'openjdk-8-jdk' was not found
The command '/bin/sh -c set -ex     && apt-get update     && apt-get install -y software-properties-common=$PROPERTIES_COMMON_VERSION     && add-apt-repository ppa:openjdk-r/ppa     && apt-get update     && apt-get install -y python-setuptools=$PYTHON_TOOL_VERSION     && apt-get install -y python-wheel=$PYTHON_WHEEL_VERSION     && apt-get install -y openjdk-${JAVA_VERSION}-jdk=$JDK_VERSION     && apt-get install -y --no-install-recommends ca-certificates-java     && apt-get clean     && update-ca-certificates -f     && curl -LSso /var/tmp/apache-ant-$ANT_VERSION-bin.tar.gz https://archive.apache.org/dist/ant/binaries/apache-ant-$ANT_VERSION-bin.tar.gz      && echo "$ANT_DOWNLOAD_SHA512 /var/tmp/apache-ant-$ANT_VERSION-bin.tar.gz" | sha512sum -c -     && tar -xzf /var/tmp/apache-ant-$ANT_VERSION-bin.tar.gz -C /opt     && update-alternatives --install /usr/bin/ant ant /opt/apache-ant-$ANT_VERSION/bin/ant 10000     && mkdir -p $MAVEN_HOME     && curl -LSso /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz https://apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz     && echo "$MAVEN_DOWNLOAD_SHA1 /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz" | sha1sum -c -     && tar xzvf /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz -C $MAVEN_HOME --strip-components=1     && update-alternatives --install /usr/bin/mvn mvn /opt/maven/bin/mvn 10000     && mkdir -p $MAVEN_CONFIG     && curl -LSso /var/tmp/gradle-$GRADLE_VERSION-bin.zip https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip     && echo "$GRADLE_DOWNLOAD_SHA256 /var/tmp/gradle-$GRADLE_VERSION-bin.zip" | sha256sum -c -     && unzip /var/tmp/gradle-$GRADLE_VERSION-bin.zip -d /opt     && update-alternatives --install /usr/local/bin/gradle gradle /opt/gradle-$GRADLE_VERSION/bin/gradle 10000     && rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/*     && apt-get clean' returned a non-zero code: 100

Note this part: E: Version '8u171-b11-2~14.04' for 'openjdk-8-jdk' was not found

As i haven't really done anythin with jsii yet, and i'm only trying to build superchain, this appears to be an issue with this repo.

Note: i'm on this version of ubuntu:

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

Not sure how to get past this issue.