LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2015, 04:26 PM   #1
vjy
Member
 
Registered: Oct 2004
Posts: 31

Rep: Reputation: 0
pycurl error 6 - couldn't resolve host public-yum.oracle.com


I have Oracle Linux 6.6 installed in my VMWare Workstation 10.0.5. I am trying to install some libraries using yum, but I get this error -

Code:
pycurl error 6 -  couldn't resolve host public-yum.oracle.com
Trying other mirror
Error : Cannot retrieve repository metadate(repomd.xml) for repository: public_ol6_UEKR3_latest.
I have tried multiple things mentioned in the sites, but I could not get it working. Also my internet is not working in the VM.

I typed yum repolist all and I got only 2 enabled, the one main one and another mirror

I am attaching my /etc/yum.repos.d/public-yum-ol6.repo file for reference.

Thanks for any help.
Attached Thumbnails
Click image for larger version

Name:	yum_repo.png
Views:	977
Size:	67.8 KB
ID:	18033  
 
Old 04-07-2015, 04:59 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
The error is expected because your internet is not working on Oracle Linux machine. If it cannot connect to internet how it will connect to public repository?

Another thing, did you purchase subscription from Oracle? If not then even after you get internet working yum will not work because you don't have subscription.

If you want to practice you can use CentOS 6.6.
 
1 members found this post helpful.
Old 04-07-2015, 05:21 PM   #3
vjy
Member
 
Registered: Oct 2004
Posts: 31

Original Poster
Rep: Reputation: 0
Thanks for the response. I thought so too, but I have another VM in Virtualbox that I am not able to connect to the browser, but the yum search/install works. Technically the yum oracle site do not, but the mirror sites do. That is why I was confused. Where do I find the mirror information, so I will try to use the mirror site info from the working one to non-working one.

I have to use Oracle Linux.

Thanks.
 
Old 04-07-2015, 05:31 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Quote:
I thought so too, but I have another VM in Virtualbox that I am not able to connect to the browser, but the yum search/install works. Technically the yum oracle site do not, but the mirror sites do. That is why I was confused. Where do I find the mirror information, so I will try to use the mirror site info from the working one to non-working one.
Not sure what you are talking about? What do you mean by mirror information? Are you talking about third-party repository. Give us the details.
 
Old 04-08-2015, 06:05 AM   #5
vjy
Member
 
Registered: Oct 2004
Posts: 31

Original Poster
Rep: Reputation: 0
When I do yum install, it checks for main repository URL or it checks the mirror sites. In one of my other machines, it used the mirror URL for downloading the yum binaries. I wanted to check where that config as I was not able to see in public-yum-ol6.repo file.

But after restarting my host machines, my internet is working and I was able to get the yum installs working now.

Thanks again for your help.
 
Old 04-08-2015, 06:29 AM   #6
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
You're welcome and thanks for marking the thread as solved.

I am still not sure what you mean by:

Quote:
In one of my other machines, it used the mirror URL for downloading the yum binaries. I wanted to check where that config as I was not able to see in public-yum-ol6.repo file.
Anyways glad that you get it sorted.

Enjoy Linux!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror user1989 Linux - Networking 6 01-21-2016 10:31 AM
PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" adumith Linux - Newbie 5 01-19-2014 10:22 PM
Fedora 16 Yum [Errno 14] curl#5 - "Couldn't resolve proxy" manqox Fedora 4 04-26-2012 10:37 AM
[SOLVED] YUM not working on the client - [Errno 14] PYCURL ERROR 7 - "" infinite_scale Red Hat 3 04-25-2012 09:13 AM
Update...."Couldn't resolve host." oMr_To Mandriva 8 07-31-2005 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration