Oracle Linux – YUM Could not resolve hostnames
in Linux
Applies To:
Linux OS – Version Oracle Linux 7.0 to Oracle Linux 9.0 [Release OL7 to OL9]
Linux x86_64
Oracle Cloud Infrastructure - Version N/A and later
Goal:
This document describes how to change yum DNS resolution from IPv6 to IPv4.
Symptoms:
$ sudo yum install zsh -y Loaded plugins: langpacks, osmsplugin, ulninfo This system is receiving updates from OSMS. Resolving Dependencies --> Running transaction check ---> Package zsh.x86_64 0:5.0.2-34.el7_8.2 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================ Package Arch Version Repository
Tagged:
0