Project

General

Profile

Actions

Bug #11626

closed

Build on Deb7 and ubuntu14.04 fails because jdk8u144 is unavalaible

Added by Vincent MEMBRÉ over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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


Subtasks 1 (0 open1 closed)

Bug #11627: invalid line in makefileReleasedAlexis MoussetActions
Actions #1

Updated by Vincent MEMBRÉ over 6 years ago

  • Status changed from New to In progress
Actions #2

Updated by Vincent MEMBRÉ over 6 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
Actions #3

Updated by Vincent MEMBRÉ over 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ over 6 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.

Actions

Also available in: Atom PDF