[CentOS] (py)curl error 7

Thu Dec 25 10:59:23 UTC 2014
Alikhan Damirov <alikhantara at gmail.com>

Hi,
from man yum.conf:
              ip_resolve Determines how yum resolves host names.

              `4' or `IPv4': resolve to IPv4 addresses only.

              `6' or `IPv6': resolve to IPv6 addresses only.


On 25 December 2014 at 11:53, Mateusz Guz <Mateusz.Guz at itworks.pl> wrote:

> Hi,
>
> Disabled ipv6 (using sysctl, disabled ip6tables, no reboot, no proxy
> present) and still get the message as below.
>
> Centos 6.3 (i know its old)
> Kernel : 2.6.32-279.14.1.el6.x86_64 (I know its old)
> Standard /etc/yum.conf (no changes)
> Standard repos (centos base), enabled
>
> Cleaned cache: yum metadata (didn't work)
> Then: yum clean all (didn't work)
> Then yum makecache (didn't work)
>
> Yum repolist
> Could not retrieve mirrorlist
> http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
> 14: PYCURL ERROR 7 - "Failed to connect to
> 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
>
> Ping on mirrorlist.centos.org is OK
> Curl mirrrorlist.centos.org NOT_OK
>
> Message started to occur suddenly, I didn't even update any package.
> Any suggestions ?
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>