Tuesday, August 23, 2016

Getting "Couldn't resolve proxy 'www-proxy.us.oracle.com'" when running yum on Oracle Linux VM


If you're trying to install syslinux on an Oracle Linux VirtualBox VM, you may get the following error:
[root@soa-training ~]# yum install syslinux 
Loaded plugins: refresh-packagekit, ulninfo
Setting up Install Process
http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 5 - "Couldn't resolve proxy 'www-proxy.us.oracle.com'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: public_ol6_UEK_latest. Please verify its path and try again


1. On the Linux VM, navigate to System > Preferences > Network Proxy.

2. Make sure to select "Direct internet connection" and then click on Close.

3. Edit /etc/yum.conf and comment out the following line:
4. Try running yum install syslinux again.

Applicable Versions:
  • Oracle Linux 6+ VM


Anonymous said...

Thank you Ahmed for this solution because I was almost giving up on these Oracle Virtual Machines ! There are so many errors which require developers or end-users to fix them before you can use these VMs.

Anonymous said...

Worked great! Thanks!

Anonymous said...

Thanks The Solution worked

Menday Richardson said...

Yet, both Hurd and Oracle co-founder Larry Ellison have insisted that the company is now a cloud leader…Mark Hurd

Anonymous said...

interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and
i would regularly watch out for the new posts,Thanks a million once again, Regards
obiee training in hyderabad