Comments (6)
The general way to have a dynamic repo working for the current version and arch would look like this:
[adoptopenjdk]
name=AdoptOpenJDK $releasever - $basearch
baseurl=https://adoptopenjdk.jfrog.io/adoptopenjdk/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
Not that the repo id would be in lower case as standard (but works also in camel case 😎)
from installer.
In a Docker container (docker run -d -t fedora:30
), I did the following:
cat <<EOF > /etc/yum.repos.d/adoptopenjdk.repo
[AdoptOpenJDK]
name=AdoptOpenJDK
baseurl=http://adoptopenjdk.jfrog.io/adoptopenjdk/rpm/fedora/30/$(uname -m)
enabled=1
gpgcheck=1
gpgkey=https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
EOF
Followed by a dnf update
and dnf install adoptopenjdk-11-hotspot
, which both succeeded.
Could you please list the steps you performed that led to the error? Preferably with a Docker container.
from installer.
I don't use Docker. I need a solution for a "real" system installed on VirtualBox. I need admin rights to set the repo.
I took the steps from here and the repo for Ubuntu and Debian works correctly, but I can't say the same thing about Fedora 30.
from installer.
Your adoptopenjdk.repo
should look like this:
[AdoptOpenJDK]
name=AdoptOpenJDK
baseurl=http://adoptopenjdk.jfrog.io/adoptopenjdk/rpm/fedora/30/x86_64
enabled=1
gpgcheck=1
gpgkey=https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
The problem with your adoptopenjdk.repo
is that it still contains $(uname -m)
.
from installer.
Sounds like this can be closed. Please do reopen if the suggestions above aren't adequate!
from installer.
Now it's working. Thank your very much.
from installer.
Related Issues (20)
- Republish JRE21 RHEL & SUSE PPC64LE Linux Packages Due To Issue In Spec File
- Debian installation instructions still use `/etc/apt/trusted.gpg.d` for storing the key HOT 3
- Add Riscv64 Support To Linux Installer Process HOT 4
- adjust rpms and (maybe) repositories so Temurin JDKs can serve as replacement of non-system JDKs in Fedora HOT 24
- fonts-dejavu is not installable and not included with basic installer ubuntu linux
- Support for new distributions - April 2024 HOT 4
- Packaging process does not work correctly for RPMs, when dist = all
- Windows ARM64 binaries are being installed to incorrect location
- Test
- April 2024 - Unix Installer Packages Release Tracker HOT 1
- Generated MSIs lack end-user license agreement HOT 10
- Alpine temurin ARM64 Package depends on x86 Package HOT 9
- GPG Signing Fails For RHEL Installer Packages HOT 1
- Origin/Label for Debian repositories
- remove versionless provides from rpm builds HOT 2
- add headless subpackage
- add aarch64/shenandoah support for jdk8
- provide slowdebug and fastdebug subpackages
- contact fesco
- No release for Ubuntu mantic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installer.