Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Yum broken and throwing error on Oracle Linux 6.5

JhilDec 28 2017 — edited Dec 29 2017

Dear Linux Experts,

I am updating my Linux machine

unfortunately Internet 3 times disconnected.

# cat /etc/redhat*release

Red Hat Enterprise Linux Server release 6.5 (Santiago)

>>  Was that completely succeeded or NOT ?

# cd /etc/yum.repos.d

[root@ausdev yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo

--2017-12-29 11:35:17--  http://public-yum.oracle.com/public-yum-ol6.repo

Resolving public-yum.oracle.com... 49.44.120.73

Connecting to public-yum.oracle.com|49.44.120.73|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 9074 (8.9K) [text/plain]

Saving to: “public-yum-ol6.repo”

100%[=============================================================================================================================>] 9,074       --.-K/s   in 0s   

2017-12-29 11:35:17 (157 MB/s) - “public-yum-ol6.repo” saved [9074/9074]

>>

[root@ausdev yum.repos.d]# yum update

Loaded plugins: refresh-packagekit, security

http://yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'yum.oracle.com'"

Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_UEK_latest. Please verify its path and try again

>>

[root@ausdev yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall

Loaded plugins: refresh-packagekit, security

http://yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'yum.oracle.com'"

Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_UEK_latest. Please verify its path and try again

>> 

# yum install oracle-rdbms-server-11gR2-preinstall

Loaded plugins: refresh-packagekit, security

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-7.el6 will be updated

---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-14.el6 will be an update

--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================

Package                                                     Arch                          Version                             Repository                         Size

=======================================================================================================================================================================

Updating:

oracle-rdbms-server-11gR2-preinstall                        x86_64                        1.0-14.el6                          ol6_latest                         21 k

Transaction Summary

=======================================================================================================================================================================

Upgrade       1 Package(s)

Total download size: 21 k

Is this ok [y/N]: y

Downloading Packages:

http://yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/getPackage/oracle-rdbms-server-11gR2-preinstall-1.0-14.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'yum.oracle.com'"

Trying other mirror.

>>

This post has been answered by Dude! on Dec 29 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2018
Added on Dec 28 2017
4 comments
6,335 views