Bug #11626
closedBuild on Deb7 and ubuntu14.04 fails because jdk8u144 is unavalaible
Description
Build on debian7 and ubuntu 14.04 faisl on webapp packages (inventory-endpoint and rudder-webapp) because jdk 8 cannot be installed on builder.
We depend on a ppa https://launchpad.net/~webupd8team/+archive/ubuntu/java for those to oses, we install jdk8u144 from oracle to install java8.
Since a few days (as of 19/10/2017), jdk8u144 is not available anymore from oracle (at least on links used in the ppa)
Seen this issue: https://askubuntu.com/questions/966107/cant-install-oracle-java-8-in-ubuntu-16-04
real solution is to wait for an update of the ppa to a new jdk8 available.
Until then a workaround is described here https://ubuntuforums.org/showthread.php?t=2374686
Here the workaround adapted to our case
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes oracle-java8-installer && true cd /var/lib/dpkg/info sed -i 's|JAVA_VERSION=8u144|JAVA_VERSION=8u152|' oracle-java8-installer.* sed -i 's|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/|PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/|' oracle-java8-installer.* sed -i 's|SHA256SUM_TGZ="e8a341ce566f32c3d06f6d0f0eeea9a0f434f538d22af949ae58bc86f2eeaae4"|SHA256SUM_TGZ="218b3b340c3f6d05d940b817d0270dfe0cfd657a636bad074dcabe0c111961bf"|' oracle-java8-installer.* sed -i 's|J_DIR=jdk1.8.0_144|J_DIR=jdk1.8.0_152|' oracle-java8-installer.* cd - DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes oracle-java8-installer
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1394
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|87e747dfb8d19e6eb97b08b47073cebd62b7f7c7.
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.8 and 4.2.1 which were released today.
- 4.1.8: Announce Changelog
- 4.2.1: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/