Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add ppa #1

Open
xenobardok opened this issue Nov 15, 2019 · 1 comment
Open

Cannot add ppa #1

xenobardok opened this issue Nov 15, 2019 · 1 comment

Comments

@xenobardok
Copy link

xenobardok commented Nov 15, 2019

Step 10/35
Cannot add PPA: 'ppa:webupd8team/java'.
Please check that the PPA name or format is correct.

The command '/bin/sh -c echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && add-apt-repository -y ppa:webupd8team/java && apt-get update && apt-get install -y oracle-java8-installer && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/oracle-jdk8-installer' returned a non-zero code: 1

@welsberr
Copy link

welsberr commented Apr 28, 2021

I ran into this and have modified the Dockerfile to try OpenJDK instead since Oracle appears to have made use of their Java too annoying to mess with. Partial changes:

add-apt-repository ppa:openjdk-r/ppa &&
apt-get update &&
apt-get install -y openjdk-8-jre

Define commonly used JAVA_HOME variable

ENV JAVA_HOME /usr/lib/jvm/default-java

I don't know yet whether that is entirely effective; I'm running into problems a bit later getting the Ruby gem stuff going.

I checked for whether any of the forks of this repo had more recent changes, and thus some idea that they might have successfully built for someone recently, but they are all several years old. Bit rot is a thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants