Skip to content

Unable to find a match: oracle-instantclient-release-el9 #2967

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

Closed
Weiyi-Chung opened this issue Apr 28, 2025 · 3 comments
Closed

Unable to find a match: oracle-instantclient-release-el9 #2967

Weiyi-Chung opened this issue Apr 28, 2025 · 3 comments

Comments

@Weiyi-Chung
Copy link

Weiyi-Chung commented Apr 28, 2025

Hi community,

I'm using the Dockerfile from the following link:

RUN dnf -y install oracle-instantclient-release-el9 && \

[+] Building 14.0s (5/5) FINISHED                                                                                                                                                                       docker:orbstack
 => [internal] load build definition from Dockerfile                                                                                                                                                               0.0s
 => => transferring dockerfile: 4.02kB                                                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/library/oraclelinux:9                                                                                                                                                   0.9s
 => [internal] load .dockerignore                                                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                                                    0.0s
 => CACHED [1/2] FROM docker.io/library/oraclelinux:9@sha256:d19103af0f05c94fdf8827f2004423feff69f2a6773b0bb615843174d2546173                                                                                      0.0s
 => ERROR [2/2] RUN  dnf -y install oracle-instantclient-release-el9 &&      dnf -y install oracle-instantclient19.26-basic oracle-instantclient19.26-devel oracle-instantclient19.26-sqlplus &&      rm -rf /va  13.0s
------                                                                                                                                                                                                                  
 > [2/2] RUN  dnf -y install oracle-instantclient-release-el9 &&      dnf -y install oracle-instantclient19.26-basic oracle-instantclient19.26-devel oracle-instantclient19.26-sqlplus &&      rm -rf /var/cache/dnf:   
1.982 Oracle Linux 9 BaseOS Latest (aarch64)           42 MB/s |  70 MB     00:01                                                                                                                                       
8.430 Oracle Linux 9 Application Stream Packages (aar  36 MB/s |  33 MB     00:00                                                                                                                                       
12.22 Last metadata expiration check: 0:00:04 ago on Mon Apr 28 17:33:06 2025.
12.95 No match for argument: oracle-instantclient-release-el9
12.96 Error: Unable to find a match: oracle-instantclient-release-el9
------
Dockerfile:80
--------------------
  79 |     
  80 | >>> RUN  dnf -y install oracle-instantclient-release-el9 && \
  81 | >>>      dnf -y install oracle-instantclient${release}.${update}-basic oracle-instantclient${release}.${update}-devel oracle-instantclient${release}.${update}-sqlplus && \
  82 | >>>      rm -rf /var/cache/dnf
  83 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c dnf -y install oracle-instantclient-release-el9 &&      dnf -y install oracle-instantclient${release}.${update}-basic oracle-instantclient${release}.${update}-devel oracle-instantclient${release}.${update}-sqlplus &&      rm -rf /var/cache/dnf" did not complete successfully: exit code: 1

and it raise that Unable to find a match: oracle-instantclient-release-el9. Is there anything setting I forgot to do? or there's an alternative way to use instant client in linux environment, thanks in advance!

@cjbj
Copy link
Member

cjbj commented Apr 28, 2025

See Operating System Requirements for Linux for Arm (aarch64). There is no Oracle Client released for Arm OL9, hence there is no official Instant Client yum channel.

(Also, please don't post screen shots - not everyone can read them. And we can't cut & paste from them)

@Weiyi-Chung
Copy link
Author

Hi @cjbj,

Thanks for your reply and suggestion. It works perfectly when testing on an x86 machine.

@cjbj
Copy link
Member

cjbj commented Apr 29, 2025

@Weiyi-Chung for general reference, see my post Installation Cheatsheet for Oracle Instant Client on Oracle Linux.

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