-
Notifications
You must be signed in to change notification settings - Fork 150
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
Can not build image: Package 'openjdk-7-jdk' has no installation candidate #33
Comments
It's quite possible that it's just not supported anymore. I will test iDRAC with the newer Java versions and see if it works, otherwise I have to find a new source for OpenJDK 7. Will probably have some time to do this next week. |
I looked into it now and it seems like OpenJDK 7 is gone from all the repos for modern OS (obviously). There are some for older OS but I don't have a baseimage for them. Looks like the only way around is downloading the JDK from Oracle, which I probably am not allowed to bundle with this image, or building Java by myself. |
I run the Alpine Linux version using the repo from pull request #9 and it looks like Java is found and working. My french keyboard is not working as expected (mapping does not correspond neither to english nor french, maybe a double decode of mapping), but it's another problem. I see you have patchs about keyboard in the last release. I must check if I can merge both. |
Interesting. You're right, Alpine still has openjdk7 packages: https://pkgs.alpinelinux.org/packages?name=openjdk7*&branch=edge I will check if I can get the keycode hack to compile on Alpine. |
It looks like Alpine still has the same issues for which I didn't accept the pull request in the first place:
|
Zulu Java is the only openjdk distribution that is still packaging Java 7: https://www.azul.com/downloads/?package=jdk I had a branch where I tried switching to it, but the build fails because you also need to install the libx11-dev in order to compile the keycode-hack. Once I got past that, I still ran in to issue #17 so I gave up on that branch. Supposedly, you can get iDrac 6 working with Java 8 by modifying the allowed tls algorithms. |
@kusol Thanks, I will check if I can get things working with Java 8 in Ubuntu and switch to the Zulu Java builds if that doesn't work. |
It looks like the openjdk-7 for ubuntu xenial is no more available in the selected PPA.
Browsing http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/xenial/main/binary-amd64/ show that the Packages.gz have been updated on 2021-04-21 and there is (no more?) references to a jdk older than openjdk-9
There are .deb in http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/pool/main/o/openjdk-7/ but probably only for Lucid Lynx.
--- Last lines of
docker build -t docker-idrac6 .
---The text was updated successfully, but these errors were encountered: