-
Notifications
You must be signed in to change notification settings - Fork 90
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
Switch away from apt-key in Debian/Ubuntu instruction #960
Comments
The information how to do this properly is super hard to find (at least for me). So thanks a lot for the links. It's already planned to create a keyring package, but that won't happen with the old AdoptOpenJDK repository that's going to be replaced soon-ish anyway. Development happens in my private repository (ticket: aahlenst/adoptium-packages-linux#2). I'm happy to review a PR that updates the instructions on the website to match the Kubernetes instructions. |
To turn it into an issue for newcomers, what to do:
The key parts from the Kubernetes instructions are: Download the Google Cloud public signing key (take AdoptOpenJDK's instead, change URLs)
Add the Kubernetes apt repository: (use AdoptOpenJDK's key, change URLs)
|
Hello @
@aahlenst I'm an Outreachy Applicant here and I am interested in updating the website instructions to match the Kubernetes instructions. |
Thanks @karianna |
Update for installing the adoptopenjdk key to Debian/Ubuntu systems. Fixes AdoptOpenJDK#960
instructions updated at adoptium.net |
This one? https://github.com/adoptium/website-v2/blob/main/src/asciidoc-pages/installation/linux.adoc#deb-installation-on-debian-or-ubuntu - That still uses apt-key 😞 I'll try to send a new pull request to that repo this evening... |
The apt maintainer has recently announced that apt-key is deprecated and its use is seen as an antipattern by other Debian developers.
I would suggest to adopt something like the Kubernetes instructions or even follow the guide in the Debian wiki for packaging the key inside the repository (in a package named
adoptopenjdk-archive-keyring
) to allow automatic key rollovers.The text was updated successfully, but these errors were encountered: