I wrote up a whole post, but when I went to submit it, my session had timed out… In any case, I still wanted to post the issue I had as well as the solution I found, and ask if anyone knows what the problem is.
I was trying to install VS Code on the Oracle Database App Development VM, and I was getting variations of this error:
Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64) 0.0 B/s | 0 B 08:00
Errors during downloading metadata for repository 'ol8_UEKR7':
- Curl error (28): Timeout was reached for https://yum-us-phoenix-1.oracle.com/repo/OracleLinux/OL8/UEKR7/x86_64/repodata/repomd.xml [Connection timed out after 120002 milliseconds]
- Curl error (28): Timeout was reached for https://yum-us-phoenix-1.oracle.com/repo/OracleLinux/OL8/UEKR7/x86_64/repodata/repomd.xml [Connection timed out after 120000 milliseconds]
Error: Failed to download metadata for repo 'ol8_UEKR7': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
What eventually worked was disabling the repos that are on domain yum-us-phoenix-1.oracle.com
(command: dnf config-manager --disable package_name
). I did this two or three times and finally I was able to run dnf check-update
and sudo dnf install code
as described here.
I pinged yum-us-phoenix-1.oracle.com
and ran the host -v command as well, and it seemed ok… but I am far from being familiar with networks/networking.
I'm curious if anyone knows why those repos had to be removed. And if I need them…?