You are not logged in.
Pages: 1
On our current Devuan Jessie installs we have openjdk-7-jre-headless installed. Is there any source available for us to get the openjdk-8 version of that?
Thanks in advance
Tom
Offline
You could try try adding backports to /etc/apt/sources.list, and see if its there. But probably not going to be productive:
https://packages.debian.org/search?keywords=openjdk
You could try downloading the openjdk8 .deb file directly from here
https://packages.debian.org/stretch/ope … k-headless
and install in manually. You probably will encounter dependencies, such as the JRE; so download and install those as needed.
Then there is the option to download Oracle JDK8 and install that. But realize Oracle has newly implemented licensing.
Last edited by dxrobertson (2019-04-27 00:33:30)
Offline
Looks like that package is in ascii:
https://pkginfo.devuan.org/cgi-bin/d1pk … elease=any
You would need to backport it to use in jessie (and I have no idea how to do that). Or you could always upgrade to ascii.
Note that it is "not-a-good-idea" (tm) to use packages directly from the debian repos. If a package is available, amprolla will serve the debian version to devuan via redirect.
Online
Thanks for all the replies!
Looks like that package is in ascii:
https://pkginfo.devuan.org/cgi-bin/d1pk … elease=any
Yea, that's the same package as is available for Debian Stretch. That can (sort of) be installed as long as you also manually install ca-certificates-java as well:
https://pkginfo.devuan.org/cgi-bin/d1pk … ease=ascii
Even then however it complains about breaking tzdata-java and will only install by adding --auto-deconfigure. Pretty ugly to say the least.
It appears to work, but I'm not sure as to what issues that ugliness with tzdata-java might cause.
Tom
Offline
Forgive my ignorance on this, but once I find a package using that Devuan package info search, how can I go about finding a download for the package? Thanks in advance.
EDIT: Yea, if anyone has an ideas on this, I'd like to download the ascii deb files for this. I've turned over every rock I can imagine and can't figure out any means of finding direct download links.
Tom
Last edited by tlathm (2019-04-27 19:37:16)
Offline
Firstly it's useful to know which "section" (main, contrib, non-free) that package should belong to. In this case its main.
Then you look for the Devuan package in
http://deb.devuan.org/devuan/pool/main/o/
As there's nothing suitable there, you look for the Debian package in
http://deb.debian.org/debian/pool/main/o/
Note that the path includes the section and the first letter of the name. If you are looking for a "lib*" package, you use the first 4 letters.
Both deb.devuan.org and deb.debian.org result in one or more redirects to some mirror.
Offline
Thanks! In the case of the Debian link that works, and redirects to a mirror with everything beginning with that letter. The Devuan link just goes directly to that link as-is and for some reason only has directories for five packages. Not sure what's going there.
Another question: I'm assuming those would be for the current stable release(?)...for example ascii on the case of Devuan. What would the links be for other releases?
Thanks.
Tom
Offline
The Devuan link just goes directly to that link as-is and for some reason only has directories for five packages. Not sure what's going there.
The Devuan repository contains a couple of Devuan-only packages, but mostly it contains packages that have been "sanitized". It's an overlay to override those packages, while all else comes from Debian.
Still, the pool contains packages for the union of all versions and variants of all distributions.
Each distribution version/variant is rather declared in an "index file", such as
http://deb.devuan.org/merged/dists/ascii/main/binary-amd64/Packages.xz
which nominates all the packages of the main section in the merged amd64 architecture ascii repository. I.e., it defines everything that on an amd64 host would be targeted as
http://deb.debian.org/merged ascii main
in sources.list.
In fact, that exact file gets downloaded and unzipped into
/var/lib/apt/lists/deb.devuan.org_merged_dists_ascii_main_binary-amd64_Packages
when you do apt-get update, so that the apt sub system locally knows which packages and versions belong to that distribution, section and architecture.
Note then that the merged distributions of Devuan refer to both overriding packages from the Devuan pool, and packages directly from the Debian pool. The beautiful magic that makes that possible is some simple translations of the Filename attributes in the index.
Offline
Thanks for the explanation! I didn't realize that's how it all worked...very cool.
Tom
Offline
Pages: 1