When I use yum in my VirtualBox VM, I get a urlopen error time out
[oracle@localhost ~]$ yum list gpart
Loaded plugins: security
http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Available Packages
gpart.i386 0.1h-6.el5 el5_latest
When I try to install the package:
[oracle@localhost yum.repos.d]$ sudo yum install gpart
[sudo] password for oracle:
Loaded plugins: security
http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: el5_latest. Please verify its path and try again
So I went ahead and tried to acquire a new configuration file and could not connect:
[oracle@localhost yum.repos.d]$ sudo wget http://public-yum.oracle.com/public-yum-el5.repo
--2013-11-19 09:05:18-- http://public-yum.oracle.com/public-yum-el5.repo
Resolving public-yum.oracle.com... 96.17.203.91, 96.17.203.107
Connecting to public-yum.oracle.com|96.17.203.91|:80... failed: Connection timed out.
I have a http_proxy environment variable set for assisting with curl to domains outside the network. I have already tried to curl to google.com and received a resoponse. Also my browser in the VM is able to navigate to public-yum.oracle.com
Trace rt results:
$ sudo tracert public-yum.oracle.com
traceroute to public-yum.oracle.com (96.17.203.24), 30 hops max, 40 byte packets
1 10.0.2.2 (10.0.2.2) 0.497 ms 0.489 ms 0.514 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *