You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle Linux – YUM Could not resolve hostnames

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                 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!