Yum Unable To Access Repository (Cannot retrieve repository metadata (repomd.xml) for repository)
(Doc ID 2503609.1)
Last updated on MARCH 10, 2023
Applies to:
Oracle Linux Cloud Service - Version Oracle Linux 6.9 and laterOracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Linux x86-64
Symptoms
Yum is not able to reach local OCI repository failing with the following error:
# yum update
Loaded plugins: security, ulninfo
Setting up Update Process
https://yum-ash.oracle.com/repo/OracleLinux/OL6/UEKR4/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://yum-ash.oracle.com/repo/OracleLinux/OL6/UEKR4/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_UEKR4. Please verify its path and try again
Loaded plugins: security, ulninfo
Setting up Update Process
https://yum-ash.oracle.com/repo/OracleLinux/OL6/UEKR4/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://yum-ash.oracle.com/repo/OracleLinux/OL6/UEKR4/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_UEKR4. Please verify its path and try again
Changes
System has customized repository files, this customization is used to bypass $ociregion variable.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |