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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-07-2015, 04:26 PM
|
#1
|
Member
Registered: Oct 2004
Posts: 31
Rep:
|
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.
|
|
|
04-07-2015, 04:59 PM
|
#2
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385
|
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.
|
04-07-2015, 05:21 PM
|
#3
|
Member
Registered: Oct 2004
Posts: 31
Original Poster
Rep:
|
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.
|
|
|
04-07-2015, 05:31 PM
|
#4
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385
|
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.
|
|
|
04-08-2015, 06:05 AM
|
#5
|
Member
Registered: Oct 2004
Posts: 31
Original Poster
Rep:
|
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.
|
|
|
04-08-2015, 06:29 AM
|
#6
|
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385
|
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!!!
|
|
|
All times are GMT -5. The time now is 02:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|