Skip to content
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

yum update not working using Oracle Database 23ai Free Container Image Lite #2900

Open
tamasszabo04 opened this issue Jan 10, 2025 · 0 comments

Comments

@tamasszabo04
Copy link

I try to install git on the docker image container-registry.oracle.com/database/free:latest-lite

docker run -d --name oracledb container-registry.oracle.com/database/free:latest
docker exec -it oracledb bash

Some reason I am not able to reach https://yum-us-phoenix-1.oracle.com

 yum update
Oracle Linux 8 BaseOS Latest (x86_64)                                                                                                                                              0.0  B/s |   0  B     02:00
Errors during downloading metadata for repository 'ol8_baseos_latest':
  - Curl error (28): Timeout was reached for https://yum-us-phoenix-1.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/repodata/repomd.xml [Operation timed out after 30000 milliseconds with 0 out of 0 bytes received]
Error: Failed to download metadata for repo 'ol8_baseos_latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

I need some hours to finde this:

[root@b24a9535f826 ~]# cat /etc/yum/vars/ociregion
-us-phoenix-1

If I remove /etc/yum/vars/ociregion entry then 'yum update' working fine.

[root@b24a9535f826 ~]# echo -n "" >  /etc/yum/vars/ociregion
[root@b24a9535f826 ~]# yum update
Oracle Linux 8 BaseOS Latest (x86_64)                                                                                                                                              6.5 MB/s |  85 MB     00:13
Oracle Linux 8 Application Stream (x86_64)                                                                                                                                         4.3 MB/s |  66 MB     00:15
Oracle Linux 8 Development Packages (x86_64)   

It is necessary to have the entry '-us-phoenix-1' in /etc/yum/vars/ociregion?
If not please remove.

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

1 participant