Skip to content

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

Open
@ghost

Description

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions